Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/selmanbaskaya/nodejs-redis
- Owner: selmanbaskaya
- Created: 2023-01-08T13:59:11.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-02T13:34:46.000Z (11 months ago)
- Last Synced: 2024-01-02T14:52:03.597Z (11 months ago)
- Topics: nodejs, redis
- Language: JavaScript
- Homepage:
- Size: 1.07 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```