Skip to content

2KAbhishek/redi-to-rest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

11 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

License People Stars Forks Watches Last Updated

REST API with Redis πŸ“­πŸŽ

What is this

A REST API built with Node to demonstrate Redis persistence.

Inspiration

Was learning about redis persistence, wanted to try it out.

Prerequisites

Before you begin, ensure you have met the following requirements:

  • You have installed the latest version of node and redis

Getting redi-to-rest

To get redi-to-rest, follow these steps:

git clone https://github.com/2kabhishek/redi-to-rest
cd redi-to-rest

Using redi-to-rest

cp .env.example .env
$EDITOR .env #Set the REDIS_URL env to your redis instance
npm start

How it was built

redi-to-rest was built using neovim, node, redis

How the data is stored:

Refer to this example for a more detailed example of what you need for this section.

How the data is accessed:

Refer to this example for a more detailed example of what you need for this section.

Performance Benchmarks

[If you migrated an existing app to use Redis, please put performance benchmarks here to show the performance improvements.]

How to run it locally?

[Make sure you test this with a fresh clone of your repo, these instructions will be used to judge your app.]

Prerequisites

[Fill out with any prerequisites (e.g. Node, Docker, etc.). Specify minimum versions]

Local installation

[Insert instructions for local installation]

Deployment

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

Google Cloud Run

Insert Run on Google button

Heroku

Insert Deploy on Heroku button

Netlify

Insert Deploy on Netlify button

Vercel

Insert Deploy on Vercel button

More Information about Redis Stack

Here some resources to help you quickly get started using Redis Stack. If you still have questions, feel free to ask them in the Redis Discord or on Twitter.

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:

The above videos and guides should be enough to get you started in your desired language/framework. From there you can expand and develop your app. Use the resources below to help guide you further:

  1. Developer Hub - The main developer page for Redis, where you can find information on building using Redis with sample projects, guides, and tutorials.
  2. Redis Stack getting started page - Lists all the Redis Stack features. From there you can find relevant docs and tutorials for all the capabilities of Redis Stack.
  3. Redis Rediscover - Provides use-cases for Redis as well as real-world examples and educational material
  4. RedisInsight - Desktop GUI tool - Use this to connect to Redis to visually see the data. It also has a CLI inside it that lets you send Redis CLI commands. It also has a profiler so you can see commands that are run on your Redis instance in real-time
  5. Youtube Videos

What I learned

  • Learned about redis ecosystem.

Hit the ⭐ button if you found this useful.

More Info

Releases

No releases published

Sponsor this project

 

Packages

No packages published