Skip to content

mstomar698/ToDo-Using-Redis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ToDo-App Using Redis-Om

Simple ToDo-App which shows how redis-om works as db.

screenshots

How it works

  • 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.

How the data is stored:

  • The data is stored in the redis-cloud database.
  • The data is stored in the JSON format of redis-json module.

How the data is accessed:

  • The data can be accessed using RedisInsight or redis-cli.
  • The app access the data using api's and callbacks.

How to run it locally?

Prerequisites

  • Node - v12.19.0
  • NPM - v6.14.8
  • RedisInsight - v1.11

Local installation

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

Deployment

To make deploys work, you need to create free account on Redis Cloud

Heroku

Deploy

Vercel

Deploy with Vercel

More Information about Redis Stack

Here some resources to help you quickly get started using Redis Stack.

Getting Started

  1. Sign up for a free Redis Cloud account using this link and use the Redis Stack database in the cloud.

  2. Based on the language/framework you want to use, you will find the following client libraries:

About

This app uses redis-om as main db.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published