https://github.com/codeforgeek/nodejs-session-using-redis
Handling Session in app is not good practice for production environment. In case of concurrent and distributed environment we need more reliable and stable source of Session storage. Redis is one of the fastest and widely used key storage database software. This project will demonstrate how to incorporate Redis into ExpressJS application to handle Session.
https://github.com/codeforgeek/nodejs-session-using-redis
Last synced: about 1 year ago
JSON representation
Handling Session in app is not good practice for production environment. In case of concurrent and distributed environment we need more reliable and stable source of Session storage. Redis is one of the fastest and widely used key storage database software. This project will demonstrate how to incorporate Redis into ExpressJS application to handle Session.
- Host: GitHub
- URL: https://github.com/codeforgeek/nodejs-session-using-redis
- Owner: codeforgeek
- License: gpl-2.0
- Created: 2015-06-16T11:13:41.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2015-07-10T18:08:37.000Z (almost 11 years ago)
- Last Synced: 2025-04-01T19:59:59.268Z (about 1 year ago)
- Language: JavaScript
- Homepage: https://codeforgeek.com/using-redis-to-handle-session-in-node-js/
- Size: 1.67 MB
- Stars: 22
- Watchers: 4
- Forks: 10
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Hanndle Node.js Session using Redis
Handling Session in app is not good practice for production environment. In case of concurrent and distributed environment we need more reliable and stable source of Session storage. Redis is one of the fastest and widely used key storage database software. This project will demonstrate how to incorporate Redis into ExpressJS application to handle Session.
#Tutorial link
https://codeforgeek.com/2015/07/using-redis-to-handle-session-in-node-js/
## How to run.
Download Redis and start it on default port.
Import the database file (.sql) to redisDemo database via PHPMyadmin.
Run ```npm start``` in terminal and visit app at localhost:3000.
## Screenshots.
### Starting the app

### Login

### After login screen

### Redis data

### After logging out
