How to use Redis with Node.js (ioredis)

Redis and Node.js
Redis and Node.js

Install

npm install ioredis

Connect

redis://<REDIS_USER>:<REDIS_PASSWORD>@<REDIS_HOST>:<REDIS_PORT>
redis://localhost:6379

Commands

set

get

del

keys

scan

Demo

--

--

--

remarkablemark.org

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

How to make an interesting presentation

Managing React Forms in an easy and efficient way

react hook form

What are React Hooks? and how you can use them?

📑 Table of Contents

Controlling Visibility of component Based on User Claims using Angular Structural Directives

Asyncstorage in react-native with Expo

Learn how React Reconciler package works by building your own lightweight React DOM

Test Driven Development in React with Jest and Enzyme

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
remarkablemark

remarkablemark

remarkablemark.org

More from Medium

Set up NodeJs Express with Typescript

It’s all about NodeJS

WebSockets and Server-Sent Events with Node.js and Express

NestJS Back-end Architecture Files