In order to develop the API and deploy it in local the following instructions must be followed:
Get docker desktop and pull a postgreSQL image
docker run -e POSTGRES_USER=wiq -e POSTGRES_PASSWORD=test -p 5432:5432 --name WIQ_DB -d postgres
- You will see your container running:

- Connect to your database with DBeaver or your database client of choice with the following data and test as the password:

Add environment variables in the run configurations
(if the prompt to add the environment variables does not appear then click on Modify options > Operating System > Environment Variables.)


- Add the following environment variables:
- JWT_SECRET=b936cee86c9f87aa5d3c6f2e84cb5a4239a5fe50480a6ec66b70ab5b1f4ac6730c6c515421b327ec1d69402e53dfb49ad7381eb067b338fd7b0cb22247225d47;
- DATABASE_URL=jdbc:postgresql://localhost:5432/wiq;
- DATABASE_USER=wiq;
- DATABASE_PASSWORD=test;

TODO: ADD DATABASE DEFINITION SCRIPT