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

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.

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
![app console](./images/1.png)

### Login
![login screen](./images/2.png)

### After login screen
![after login screen](./images/3.png)

### Redis data
![Redis data](./images/4.png)

### After logging out
![logout from redis](./images/5.png)