Skip to content

My learning Backend Programming Language and Framework.

Notifications You must be signed in to change notification settings

nuttapat-swd/to-do-apis

Repository files navigation

To-Do-List

My repository for learning Backend Programming Language and Framework to work at same features.

Targets

Pytohn : ✅ Django REST Framework FastAPI Django Ninja Flask

Node.JS : ✅ ExpressJS NestJS

Java : ✅ Spring Boot

Go (Golang) : 👨🏻‍💻 Gin Echo Fiber Gorilla Mux

Ruby : Ruby On Rails

PHP : Laravel Lumen

Rust : Rocket Axum

.Net : ASP.NET

Features

In this project will can CRUD Tasks and Tags.

dbdiagram

The Task will have add-tag and check API actions. And data will be stored in the database (PostgreSQL).

APIs Documentation

Tags

  • Create a new tag
POST /tags/

body:

{
    "title": "test",
    "color": "#000000",
}
  • Get all tags
GET /tags/
  • Get tag by ID
GET /tags/<id>
  • Update tag
PATCH /tags/<id>

body:

{
    "title": "test",
    "color": "#000000",
}
  • Delete tag
DELETE /tags/<id>

Tasks

  • Create a new tag
POST /tasks/

body:

{
    "title": "test",
    "color": "#000000",
}
  • Get all tasks
GET /tasks/
  • Get tag by ID
GET /tasks/<id>
  • Update tag
PATCH /tasks/<id>

body:

{
    "title": "test",
    "color": "#000000",
}
  • Delete tag
DELETE /tasks/<id>
  • Add tag(s) to task**
POST /tasks/<id>

body:

{
    "tags": [1, 2] // tag ids
}
  • Change task status**
PATCH /tasks/<id>/check

body:

{
    "is_checked": true
}

About

My learning Backend Programming Language and Framework.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published