Alternative languages:
Leia a página em Português Brasileiro
This project is developed using the Nest framework.
To run the Jamie API project on your machine, you need to set up some dependencies. Make sure you have the following prerequisites:
Open the terminal in the Jamie API project directory and type:
yarn
Then, run the Docker command:
docker compose up -d
Next, make a copy of the .env.development
file, renaming it to just .env
. You will need to configure the KEYCLOAK_SECRET
variable. To do this, you'll need to download the Jamie Auth Service project and follow the instructions in its README.
Once you've completed all the KeyCloak configuration, change the Realm to jamie
and click on the Clients menu on the side. Then, in the Client ID column, click on jamie-api
.
Click on Credentials, where you will find a key under Client secret. Copy this key and paste it into the KEYCLOAK_SECRET
variable in the .env
file:
KEYCLOAK_SECRET=Secret