This is a simple ToDo application written in GoLang using the Chi router and MongoDB.
This application provides a basic CRUD (Create, Read, Update, Delete) functionality for managing ToDo items. It uses the Chi router for handling HTTP requests and MongoDB for data storage.
-
Install Dependencies: Make sure you have GoLang and MongoDB installed on your system.
-
Clone the Repository:
git clone https://github.com/annuraagggIIIT/ToDo-GoLang.git cd ToDo-GoLang -
Install Packages:
go get ./...
-
Run the Application:
go run main.go
Once the application is running, you can access the ToDo API using the specified endpoints.
GET /todo: Fetch all ToDo itemsPOST /todo: Create a new ToDo itemPUT /todo/{id}: Update a ToDo itemDELETE /todo/{id}: Delete a ToDo item
This project is licensed under the MIT License - see the LICENSE file for details.
Feel free to customize it according to your project's specific details. Add more information as needed, such as environment variables, configuration, or deployment instructions.