-
Create file
.env
in the repository root:KC_BOOTSTRAP_ADMIN_PASSWORD=1337 KC_DB_PASSWORD=1337 PGADMIN_DEFAULT_PASSWORD=1337
-
Run
docker compose up -d
. -
Open the KeyCloak Admin Console and login as user
kcadmin
using the password inKC_BOOTSTRAP_ADMIN_PASSWORD
you set in your.env
file. -
Initial data for realm customer is imported by KeyCloak on container start.
-
Users still need to be created manually. In customer -> Users, create a user for your first The Online Bank customer as follows:
- Credentials ->
Set password
- Temporary:
Off
- Temporary:
- In addition to
username
, set aFirst name
andLast name
.
- Credentials ->
-
Run
npm start
in./the-online-bank
. -
Open The Online Bank in your browser.