Clone this GitHub Repository to your desired location
- Open up psql (SQL Shell).
- Input the following:
Server [localhost]: localhost
Database [postgres]: postgres
Port [5432]: 5432
Username [postgres]: postgres
Password for user postgres: **ENTER PASSWORD FOR YOUR DEVICE'S POSTGRESQL**
Refer to the scripts.sql
file for all the DATABASE Queries.
- Open the codebase in VS Code
- Open up your terminal
- Run:
yarn install
- Add a
.env
file and include the following
ACCESS_TOKEN_SECRET= ...
REFRESH_TOKEN_SECRET=...
- Now run:
yarn start
- Open Postman and paste:
http://localhost:5000/api/v1
- Add necessary endpoints to test the APIs
- User Management -> /users
- Authentication -> /auth
- Album Management -> /albums
- Artists Management -> /artists
- Songs Management -> /songs
- Album-Artists Many to Many Relationship -> /album
YOU ARE ALL SETUP TO VIEW AND INTERACT WITH THE PROJECT