- Download repo to your local machine
- Create a .env file and fill in the appropriate values using the .env.example file
- run 'npm i' in your terminal
- Before you do anything else run 'node setup/setup' in your terminal to seed your database with some dummy data
- You can now run 'npm run start:dev' in your terminal to startup your server
You can test the endpoints using the postman documentation here
The live api link which was hosted on render can be found here,
While testing the live link you can use the below details to login as an admin
{ "email": "admin@gmail.com", "password": "password" }
You can as well login as a regular user(to test access restriction) with the the details below
{ "email": "user@gmail.com", "password": "password" }