Skip to content
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 hand…
Branch: master
Clone or download
Latest commit b3539d6 Jul 10, 2015
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin adding test cases Jul 5, 2015
images adding readme Jul 1, 2015
node_modules adding test cases Jul 5, 2015
views Final commit Jun 30, 2015
LICENSE Initial commit Jun 16, 2015
README.md Update README.md Jul 10, 2015
package.json adding test cases Jul 5, 2015
redis_demo.sql Adding SQL support + removing UUID Jun 17, 2015
test.js adding test cases Jul 5, 2015

README.md

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

app console

Login

login screen

After login screen

after login screen

Redis data

Redis data

After logging out

logout from redis

You can’t perform that action at this time.