Just some practice creating an restfulAPI using 4 of the http methods(get, post, patch, delete) that will be implemented to connect to a database.
The use of queries and a database with http methods would be also established in an real application.
Please note that the js code would be replaced by sql queries to achieve manipulation of a database.
Express.js was used to test the endpoints.