passport-local-express4

Express app with local strategy

Stars
0

Express app with Local Strategy

Following example on User Authentication with Passport and Express 4 https://mherman.org/blog/local-authentication-with-passport-and-express-4/

Running the application

 npm start

Create Express app

npm install -g express-generator@4
express passport-local-express4

Update app.js

  • passport config
  • connect to mongoose

Create account.js for Mongoose

Add routes

/routes/index.js

UI

update / add the *.jade files