Download link : [ api-pattern.tgz ]
The archive contains a fully operational IDEA project of a REST API implemented using nodejs+express and mongodb as a database.
As a bonus, a description of existing routes is provided as an openAPI file at the root of the project, and it is used by a postman plugin that allows to test each route directly with a GUI provided by the API on the route /api/docs
In order to deploy and test this API, you have to :
- download and decompress the archive,
- go into the API root directory and launch npm install to download all required node modules.
- start the API with npm run dev
- test the routes in a browser with URL : https://localhost:12345/api/docs