This is my ADB completed assignement I have made some mejor changes as I was facing difficulty in running the project so I made changes according to my prior knowlwdgw of docker( i have used it many times to do projects and intern tasks)
I have also added comments in my best possible way that I learned from my previous internships.
| Method | Endpoint | Description |
|---|---|---|
| GET | /todos/ |
Fetch all todos |
| POST | /todos/ |
Create a new todo |
| GET | /todos/<id>/ |
Fetch single todo |
| PUT | /todos/<id>/ |
Update a todo |
| DELETE | /todos/<id>/ |
Delete a todo |
- Singleton Pattern - MongoDB connection management - this I learned in system design patterns
- Service Layer Pattern - API abstraction in react
- Custom Hooks - Reusable state logic