| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
The ToDoAPI is a RESTful API built with Express.js and MongoDB, providing secure authentication, role-based access control, and robust task management capabilities. It allows users to create, update, and delete to-do lists and individual tasks, with role-specific functionalities for admins and superadmins.
The ToDoAPI is designed to facilitate task management for users with different roles. It includes user authentication, role-based access control (RBAC), and CRUD operations for both to-do lists and individual tasks.
Before running the ToDoAPI, ensure you have the following installed:
git clone https://github.com/m-ehab2/ToDoAPI.gitcd ToDoAPInpm installAuthentication Routes:
User Routes:
To-Do List Routes:
To-Do Routes (Within a List):
Admin and SuperAdmin Routes:
The API includes comprehensive error handling for various scenarios. Common HTTP error codes are used, along with detailed error messages in the response.
The project includes unit tests for critical functions and integration tests for API routes. Ensure to run tests to verify the correctness of the implementation.
For detailed API documentation, refer to the provided code comments, API routes, and the Postman collection.
Contributions are welcome! Feel free to open issues or submit pull requests.
| Back | FazBrowse Home | New Git URL |