For the purpose of practicing Node.js perform this RESTful API with the help of express. The business case is the Danish furniture retail chain, BoConcept.
The architecture used for this project is a Clean Architecture with the purpose of avoiding to the maximum the coupling of the business logic with the framework and the databases.
To review the documentation of routes and endpoints, execute the following commands:
npm run swagger-autogen
💡 This will generate a json configuration file auto generated with the help of Swagger.
Then run the server with
npm start
and go to http://localhost:3000/doc to see the documentation.