A simple CRUD (Create, Read, Update, Delete) TODO list API implemented in Go using the standard library net/http
, logrus
for logging, and MongoDB for database storage. This project serves as a basic and starter template for anyone looking to build a similar RESTful API in Go.
- CRUD Operations: Allows creating, reading, updating, and deleting TODO items.
- Middleware: Middleware implemented for logging, error handling, and other custom functionalities.
- Custom Error Messages: Provides custom error messages for better user experience.
- Go 1.16 or higher
- MongoDB
-
Clone the repository:
git clone https://github.com/sayedulkrm/go-curd-todo-2.git
go mod tidy