- Clone the repo & change the branch to
kgorecki
- Get deps by running
godep restore
- Start app:
go run todo.go
(runs on http://localhost:8000/)
method | url | desc |
---|---|---|
GET | /tasks |
Gets all tasks |
GET | /tasks/:id |
Gets task for given ID |
POST | /tasks |
Creates new task |
PUT | /tasks/:id |
Updates task for given ID |
DELETE | /tasks |
Deletes all tasks |
DELETE | /tasks/:id |
Deletes task for given ID |
{
"id": "c9fe05cd-0912-48bf-b639-c312e701f174",
"name": "First task",
"done": true
}
Currently works on BoltDB
- some refactor
- create config
- more tests
- finish all funcs & refactor
- add styles
- move to flux