This project utilises the express with node.js to create a backend that serves the purpose of GET API service. The following are 3 endpoints that are available:
- "/": Display all the API endpoints and instruction on how to use them.
- "/songs": Display all songs with the ability to filter in query params based on genre and artist.
- "/songs/:songID: Display a single song based on the id in param
- GET method: using app.get() method to handle the GET request on each endpoint.
- Middleware: using the default middlewares for cors and parsing the body plus custom middlewares for queryparams, method and error handling.
- express-list-endpoints: using this package to list all the routes and info.
- EJS: using EJS to render a front-end page for the homepage.