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

Untitled

Untitled

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.)

Untitled

Untitled

Untitled

TODO: ADD DATABASE DEFINITION SCRIPT