{"id":20911180,"url":"https://github.com/codeforgeek/nodejs-session-using-redis","last_synced_at":"2025-05-13T07:32:04.670Z","repository":{"id":33827271,"uuid":"37525484","full_name":"codeforgeek/Nodejs-Session-Using-Redis","owner":"codeforgeek","description":"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.","archived":false,"fork":false,"pushed_at":"2015-07-10T18:08:37.000Z","size":1754,"stargazers_count":22,"open_issues_count":0,"forks_count":10,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-01T19:59:59.268Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://codeforgeek.com/using-redis-to-handle-session-in-node-js/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/codeforgeek.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-06-16T11:13:41.000Z","updated_at":"2021-07-18T16:43:20.000Z","dependencies_parsed_at":"2022-08-17T20:45:33.021Z","dependency_job_id":null,"html_url":"https://github.com/codeforgeek/Nodejs-Session-Using-Redis","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeforgeek%2FNodejs-Session-Using-Redis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeforgeek%2FNodejs-Session-Using-Redis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeforgeek%2FNodejs-Session-Using-Redis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeforgeek%2FNodejs-Session-Using-Redis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codeforgeek","download_url":"https://codeload.github.com/codeforgeek/Nodejs-Session-Using-Redis/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253894867,"owners_count":21980414,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-18T14:19:37.557Z","updated_at":"2025-05-13T07:32:03.987Z","avatar_url":"https://github.com/codeforgeek.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hanndle Node.js Session using Redis\nHandling 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.\n\n#Tutorial link\n\nhttps://codeforgeek.com/2015/07/using-redis-to-handle-session-in-node-js/\n\n## How to run.\n\nDownload Redis and start it on default port.\n\nImport the database file (.sql) to redisDemo database via PHPMyadmin.\n\nRun ```npm start``` in terminal and visit app at localhost:3000.\n\n## Screenshots.\n\n### Starting the app\n![app console](./images/1.png)\n\n### Login\n![login screen](./images/2.png)\n\n### After login screen\n![after login screen](./images/3.png)\n\n### Redis data\n![Redis data](./images/4.png)\n\n### After logging out\n![logout from redis](./images/5.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeforgeek%2Fnodejs-session-using-redis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodeforgeek%2Fnodejs-session-using-redis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeforgeek%2Fnodejs-session-using-redis/lists"}