The structure of this repository is the following:
- "JSON Schemas" contains the design of the JSON Schemas;
- "REST APIs Design" contains the full Open API documentation of the REST APIs, including examples of JSON documents to be used when invoking the operations;
- "ToDoManager Implementation" contains the code of the ToDoManager service application.
How to run the project:
-
Go into the folder "ToDoManager Implementation"
-
Run the command npm install
-
Run the command npm start
-
Rest APIs are exposed on http://localhost:3000/api
-
OpenAPI Swagger Documentation is exposed on http://localhost:3000/docs
To test the app, use the following credentials:
- Username: [email protected]
- Password: password
To set the number of items in each page of the pagination mechanism, change the OFFSET variable in: ToDoManager Implementation\utils\constants.js