https://github.com/osamaesmail/todo-api
https://github.com/osamaesmail/todo-api
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/osamaesmail/todo-api
- Owner: osamaesmail
- Created: 2019-09-22T00:36:21.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-09-22T07:03:12.000Z (over 5 years ago)
- Last Synced: 2025-01-23T01:14:07.103Z (5 months ago)
- Language: Go
- Size: 13.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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}` |