This is a demonstration stack that shows a simple javascript + redis todo application. To use this application you'll need access to:
- A Hub on the Cycle platform.
- A live server in the hub.
- An environment.
- Hosted DNS Zone
If you've never created any of these things, each can be found in the getting started section of our documentation.
curl -X POST -d '{"todo": "Buy groceries"}' -H "Content-Type: application/json" https://youdomain.com/todos
curl https://youdomain.com/todos
curl -X PUT -d '{"todo": "Buy new groceries", "completed": true}' -H "Content-Type: application/json" https://youdomain.com/todos/TODO_ID
curl -X DELETE https://youdomain.com/todos/TODO_ID