https://github.com/ahmedelwerdany/golang-todo
https://github.com/ahmedelwerdany/golang-todo
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ahmedelwerdany/golang-todo
- Owner: AhmedElwerdany
- Created: 2023-12-11T23:30:37.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-12-11T23:34:58.000Z (over 1 year ago)
- Last Synced: 2025-01-08T16:35:17.475Z (6 months ago)
- Language: Go
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### Todo
Simple API for Todo List#### API
- `GET /todos` to get all todos
- `POST /todos` to add a new todo with the following fields `title`, `description`, `done` as boolean value.
- `PUT /todos/:id` to update a todo by id, accept a json with fields as in `POST /todos`
- `DELETE /todos/:id` to delete a todo by id