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.
- 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