Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Redis getting started

How to send data from Node.js to Redis

You can find here some examples of Node.js code to send data to a Redis server.

These examples are designed to run with a Stackhero Redis service. You'll more informations about Stackhero here:

How to use

  • First, clone this repository: git clone https://github.com/stackhero-io/redisGettingStarted.git && cd redisGettingStarted
  • Then, install nodes packages: npm install
  • Copy the file .env-example to .env and fill it with your credentials
  • Finally, start the first example: node gettingStarted.js

This example use the ioredis library. You will find documentation on the official Github repository

screenshot