/todo-app

Basic Todo App

Primary LanguageGo

Todo App Backend (Golang)

Run

$ docker-compose up -d

Endpoints

Add Todo - Post

http://localhost:8080/addTodo
Body
{
    "Title":"buy a chocolate",
    "Completed":false
}

Update Todo - Put

http://localhost:8080/updateTodo/id
Body
{
    "Title":"buy a chocolate",
    "Completed":false
}

Get Todos - Get

http://localhost:8080/getTodos

Delete Todo - Delete

http://localhost:8080/deleteTodo/id