/Express-session-demo

Basic express server to demonstrate how sessions work

Primary LanguageJavaScript

Express Session Demo

This project is designed to show how sessions work and how data flows within express.

Project setup

npm i will install all of the dependencies needed to run the project.

A .env file will be needed with the following keys:

  • DB_USERNAME
  • DB_PASS
  • SESSION_SECRET

Running and using the demo

To run the project, you can run the index.js file with node.

This project is intended to be used with a REST client such as insomnia or postman.