Build a Session-Backed Shopping Cart with Redis and Node.js
In this post, I will discuss session management with Redis in a rudimentary way. Before you begin, please install the following. redis-cli node.js I am going to create an app that will use a redis server to perform session management tasks. I want to focus on session management in this demo which is why we will assume that on login the auth takes place in the background somehow. The reason why we use Redis for session management is because it is super-fast as it stores data in memory. ...