A simple Spring Boot project demonstrating data persistence with MongoDB
- Get all ToDos
- Get all complete ToDos
- Get all incomplete ToDos
- Get ToDo by ID
- Get ToDo by Name
- Create ToDo
- Update ToDo
- Delete ToDo (updates delete status, not actual deletion)
- Get ToDos created today
- Mark a ToDo as completed
- Data persistence with MongoDB
- Custom repository methods
- Input validation
- Pagination and sorting
- Documentation using Swagger
I used swagger OpenAPI definition. Access swagger urls as follows.