# README
Todos
Collaborate on a single todo list
Running the Example
https
is required for http2
to work, so we need to create some certs.
mkcert -install -cert-file ./cert.pem -key-file ./key.pem localhost
Usage
Read Todos
With data updates:
curl -N -s -H "x-stream: true" https://localhost:3000/todos | jq
Create Todo
curl -X POST -H "Content-Type: application/json" -d '{"title":"hello world","description":"this is the decription"}' https://localhost:3000/todos?patch=true
Update Todo
curl -X PUT -H "Content-Type: application/json" -d '{"title":"hello world","description":"this is the decription","checked":true}' https://localhost:3000/todos/<uuid>
Delete Todo
curl -X DELETE https://localhost:3000/todos/<uuid>
# Constants
No description provided by the author