go-todolist

command module
v0.0.0-...-1cc7bd7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 23, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

README

go-todolist

TodoList server with gmail authentication

Run: docker compose up

Open 127.0.0.1:3000 in browser

List of API route below (Using bearer token)

GET ALL TODO => METHOD: GET, ROUTE: http://127.0.0.1:3000/todo

CREATE TODO => METHOD: POST, ROUTE: http://127.0.0.1:3000/todo, JSON BODY: { "Task": "Optimize code", "CreatedBy": "Mahdi" }

MARK TODO AS COMPLETE => METHOD: GET, ROUTE: http://127.0.0.1:3000/todo/complete/:id

DELETE TODO => METHOD: DELETE, ROUTE: http://127.0.0.1:3000/todo/:id

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
service

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL