Skip to content

sayedulkrm/go-curd-todo-2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go TODO List API

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.

Features

  • 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.

Requirements

  • Go 1.16 or higher
  • MongoDB

Installation

  1. Clone the repository:

    git clone https://github.com/sayedulkrm/go-curd-todo-2.git

Install dependencies:

go mod tidy

Configure MongoDB connection

About

Go -V 1.22 || net/http only

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages