luyanakat / todo-restapi

Simple CRUD Todo RestAPI using Clean Architecture

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

API Reference

Create todo

PUT /items/{id}
Parameter Type Description
Todo ID int Required

Get todo by ID

GET /items/{id}
Parameter Type Description
Todo ID int Required

Get all todos

GET /items

Update todo in database

PATCH /items/{id}
Parameter Type Description
Todo ID int Required

Delete todo (Mark Status as "Delete")

DELETE /items/{id}
Parameter Type Description
Todo ID int Required

Paging

GET /items?page=&limit=
Parameter Type Description
Page int Required
Limit int Required

Filter

GET /items?status=
Parameter Type Description
Status string Required

Value: "Done", "Doing", "Deleted"

About

Simple CRUD Todo RestAPI using Clean Architecture


Languages

Language:Go 98.2%Language:Dockerfile 1.8%