Simple ToDo-App which shows how redis-om works as db.
- The app uses Expres as Backend which provides database access and supports api's.
- And react framework for frontend; the frontend calls api's and displays the data.
- The data is stored in the redis-cloud database.
- The data is stored in the JSON format of redis-json module.
- The data can be accessed using RedisInsight or redis-cli.
- The app access the data using api's and callbacks.
- Node - v12.19.0
- NPM - v6.14.8
- RedisInsight - v1.11
Go to /todo-backend
folder (cd ./todo-backend
) and then:
# copy file and set proper data inside
cp .env.example .env
# install dependencies
npm install
# Run dev server
npm start
Go to /todo-frontend
folder (cd ./todo-frontend
) and then:
# install dependencies
npm install
# run development mode
npm start
To make deploys work, you need to create free account on Redis Cloud
Here some resources to help you quickly get started using Redis Stack.
-
Sign up for a free Redis Cloud account using this link and use the Redis Stack database in the cloud.
-
Based on the language/framework you want to use, you will find the following client libraries:
- Redis OM Node (JS)
- Watch this getting started video
- Follow this getting started guide
- Redis OM Node (JS)