An open API service indexing awesome lists of open source software.

https://github.com/osamaesmail/todo-api


https://github.com/osamaesmail/todo-api

Last synced: 3 months ago
JSON representation

Awesome Lists containing this project

README

        

# todo-api
> Simple to do list API with Echo framework and Gorm (with Postgres) and containerized.

## requirements
* docker
* docker-compose

## build & run
```
docker-compose build & docker-compose run
```

endpoints:

| Method | Route | Body |
| ------ | ---------- | -------------------------------------------- |
| GET | /todo | |
| GET | /todo/:id | |
| POST | /todo | `{"title": "todo title"}` |
| DELETE | /todo/:id | |
| PUT | /todo/:id | `{"title": "todo title", "completed": true}` |