This project represents the backend side of a music app in which albums, artists and tracks are associated properly. I had the opportunity to design and implement a Postgress DB, design and document(OpenAPI 3) a RESTful API as well as to utilize JavaScript in order to build an Express server.
You will only need Node.js and a node global package, npm, installed in your environement.
Start with cloning this repo on your local machine and install all required node packages:
Install all npm packages:
$ cd music-app
$ npm install
Before running the app, you have to create the following two postgreSQL databases. You will need:
- musicapp_development
- musicapp_test
$ npm i
$ npm run start
$ npm run test:api-unit
Navigate to http://localhost:3000/static/openapi.json in your browser.
In case you want to play with the API, I have uploaded a collection of endpoints in order to import it to Insomnia.