Skip to content

Node Express application using passport authentication middleware

Notifications You must be signed in to change notification settings

mohasinsutar/passport-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project Title & Description

Node application using Passport Authentication middleware. It uses Passport Local Strategy to authenticate user against the username and password stored in mongodb. This project includes the registration page, login page and logout functionality.

Prerequisites

Quick Start and Installation

The easiest way to get started is to clone the repository:

#Clone the Repository
$ git clone https://github.com/mohasinsutar/passport-demo passport-demo
#Change Directory
$ cd myapp
#install dependancy using npm or yarn
$ npm install or $ yarn install
#then simply start your application
$ npm start or $ yarn run start

Note:* You can install Yarn through the npm package manager. If you already have Node.js installed then you should already have npm. Once you have npm installed you can run:

npm install --global yarn

Note: I highly recommend installing Nodemon. It watches for any changes in your node.js app and automatically restarts the server.

About

Node Express application using passport authentication middleware

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published