Skip to content
Nodejs and passport js authentication boilerplate. using express js, passport local authentication strategy, express-hanldebars for the views, mongoDB for the database.
JavaScript HTML
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
config
keys
models
routes
views
.gitignore
README.md
app.js
package-lock.json
package.json
yarn.lock

README.md

Getting started

This is a boilerplate for user signin and signup authentication using

  • Node js
  • Express js
  • Express-handlebars
  • passport js
  • mongoDB

Installation

  1. Clone this repository
  git clone https://github.com/sanoofp/nodejs-passportjs-authentication-boilerplate.git
  1. Install dependencies
  cd nodejs-passportjs-authentication-boilerplate && npm install
  1. Run the Server
  npm start

Note

Rename ./keys/dbProd.js to ./keys/db.js and edit the mongodb uri

You can’t perform that action at this time.