- POST /signUp: Create an account
- POST /login: Log into your account
- POST /Album: Create a new Album
- GET /Album/:ID: Fetch a single Album
- GET /Album: Fetch all Albums and tracks
- PATCH /Album:ID: Update a single Album
- DELETE /Album:ID: Delete an Album
- POST /Album/:ID/songs: Create a new track
- GET /Album/:ID/songs: Fetch all tracks in an Album
- PATCH /Album/:ID/songs/:ID: Update a single track
- DELETE /Album/:ID/songs/:ID: Delete a track
Clone the repository from Github.
( You will need Git for this if you are running a Windows PC, Get it HERE )
git clone https://github.com/pextech/salbum-app.git
To Install all dependencies:
npm install
To Run migrate through the database:
sequelize db:migrate
To undo migration in the database:
sequelize db:migrate:undo:all
Now to start the app:
npm run start
To start the app in development mode:
( You need nodemon installed for this, run npm i -g nodemon
to install it )
npm run dev-start
- Server-Side Framework: Node/Express
- code management: eslint and prettier
- documentation tool: Swagger documentation
- database: sequelize, postgres