Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/selmanbaskaya/nodejs-redis

This repo is for exemplifying the Redis connection and functions.
https://github.com/selmanbaskaya/nodejs-redis

nodejs redis

Last synced: 3 days ago
JSON representation

This repo is for exemplifying the Redis connection and functions.

Awesome Lists containing this project

README

        

# Redis with Node.js

## Project setup

## Install requirements
```
npm install
```

## To see the operation of functions set, get, append, del, exists, sadd, sinter and srem.
```
npm run start (it will start with nodemon)
```

## To see the operation of functions publish and subscribe.
#### First, open two different terminals side by side.
#### Then run the following command in the first terminal;
```
node subscriber.js
```
#### Finally, run the following command in the second terminal;
```
node publisher.js
```