authorization
[POST] /signup
{
"email":"your_email",
"password": "your_password",
"first_name": "your_name",
"last_name":"your_surname"
}
[POST] - /signin
{
"email": "your_email",
"password": "your_password"
}
todo app
[GET] /api/todo - get all tasks
[GET] /api/todo/:id - get task by id
[POST] /api/todo - create task
{
"title": "title",
"description": "give description",
"deadline": "set deadline",
}
[PUT] /api/todo/:id - update task by id
[POST] /api/todo/:id/execute - mark execute
[DELETE] /api/todo/:id - delete task by id
fasthttp
fasthttprouter
cli
go-pg
orm
godotenv
$ git clone https://github.com/gospodinzerkalo/todo_app_golang
docker-compose build
docker-compose up
$ psql -c "CREATE DATABASE todo_app"
or
$ make createDB
$ make build
$ make run