Pierluigi10 / cookies-and-sessions-in-Node-Express

This project shows you the basics of using cookies and sessions in Node/Express to enable a user to login, remain logged in, and log out.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

node_express_session_basics

This project shows you the basics of using cookies and sessions in Node/Express to enable a user to login, remain logged in, and log out.

setup

  • clone project
  • npm i
  • create a .env file in the root directory, e.g.
SESSION_SECRET = 1234sdfsidf23434
  • npm start
  • test in a browser or in Postdam by going to the endpoints

Source: onespace

About

This project shows you the basics of using cookies and sessions in Node/Express to enable a user to login, remain logged in, and log out.


Languages

Language:JavaScript 100.0%