Skip to content

Latest commit

 

History

History
15 lines (12 loc) · 356 Bytes

README.md

File metadata and controls

15 lines (12 loc) · 356 Bytes

persistent sessions with passport

this repository holds barebone code to enable persistent sessions with passport on expressjs/nodejs

setup

  • npm install
  • mongodb install mongodb, create database, add conf.js in root such as
module.exports = {
  mongodbURL : 'mongodb://USER:PASSWORD@localhost/DBNAME',
  mongodbName : 'DBNAME'
}