Install npm packages
npm install
- Copy .env.example to .env
- Update the DATABASE_URL in the .env file with your PostgreSQL connection details
DATABASE_URL="postgresql://<your_username>:<your_password>@localhost:<your_port>/<your_db_name>?schema=public"
The API is documented using Swagger. You can view the API documentation by visiting http://localhost:3000/api-docs in your browser.
For testing purposes dummy database can be used.