Simple web api to create, get todos, get the list of todos, and set them to done.
If you run it locally with...
go run .
... you can access the api at localhost:8080
For a detailed API description see api-spec.yaml
Request:
GET http://localhost:8080/api/toDoItems
Request:
POST http://localhost:8080/api/toDoItems
Content-Type: text/plain
GET http://localhost:8080/api/toDoItems/MXdzY2yO5rnZoZeg
POST http://localhost:8080/api/toDoItems/MXdzY2yO5rnZoZeg/setDone
docker run -it --rm -p8090:8080 daolis/todo-api:latest
Then you can access the api at localhost:8090/