Setting up local enviorment
-
Create a
.env
containing the following variables -
Add
DATABSE_URL
in this.env
for a postgresql database -
Install dependencies using
yarn install
command -
Start the local dev enviorment by using the following command
yarn start:dev
You can run the api in postman after setting up the local enviorment: