Skip to content

A node service that interacts with redis as a data store. Meant to highlight using Cycle stack files.

Notifications You must be signed in to change notification settings

cycleplatform/stack-demo

Repository files navigation

Todo Stack Demo

This is a demonstration stack that shows a simple javascript + redis todo application. To use this application you'll need access to:

  1. A Hub on the Cycle platform.
  2. A live server in the hub.
  3. An environment.
  4. Hosted DNS Zone

If you've never created any of these things, each can be found in the getting started section of our documentation.

Create

curl -X POST -d '{"todo": "Buy groceries"}' -H "Content-Type: application/json" https://youdomain.com/todos

Read

curl https://youdomain.com/todos

Update

curl -X PUT -d '{"todo": "Buy new groceries", "completed": true}' -H "Content-Type: application/json" https://youdomain.com/todos/TODO_ID

Delete

curl -X DELETE https://youdomain.com/todos/TODO_ID

About

A node service that interacts with redis as a data store. Meant to highlight using Cycle stack files.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published