Skip to content

Tabintel/todo-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Todo API

A simple RESTful Todo list API.

Endpoints
  • POST /todos: Create a new todo.
  • GET /todos: Retrieve all todos.
  • GET /todos/:id: Retrieve a todo by ID.
  • PUT /todos/:id: Update a todo by ID.
  • DELETE /todos/:id: Delete a todo by ID.
Setup and Run
  1. Clone the Repository
git clone https://github.com/tabintel/todo-api.git
cd todo-api
  1. Run this command to install all the dependencies
go mod tidy
  1. Run the application with this command
go run main.go

Here is the Postman API Documentation, for testing the API endpoints.

About

a Todo REST API built with Go

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages