Building music library system using Express, Typescript and MySql.
- User login and registration.
- Secure password and use JWT token.
- Develop CRUD APIs for artists.
- Develop CRUD APIs for albums.
- Build many-to-many relationships with artists and albums.
- Develop API to get artists of an album and get albums of an artist.
- Develop CRUD API for songs.
- Build One to many relationships with songs and albums.
- Secure all APIs.
- Use Joi for API validation.
- Clone the project
https://github.com/said7388/music-library
- Install project dependencies using
npm
package manager.
npm install
-
Create an
.env
file from.env.example
fiel. -
Update the environment variables in
.env
file. -
Run the project:
npm run server
- Run SQL query from
db.sql
file to create the necessary tables.
You will find postman API documentation in this link: Click here.