Express 4.x app using Passport for authentication with username and password stored in MySQL.
Last updated a year ago by zachtrice .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install express-passport-mysql 
SYNC missed versions from official npm registry.


Express using passport.js to login, signup, logout users against credentials in MySQL db

This example demonstrates how to use Express 4.x and Passport to authenticate users using a username and password with form-based authentication connected to a MySQL database.


To install this example on your computer, clone the repository and install dependencies.

$ git clone
$ cd express-passport-mysql
$ npm install

Start the server.

$ npm start

Open a web browser and navigate to http://localhost:3000/

Current Tags

  • 1.0.0                                ...           latest (a year ago)

1 Versions

  • 1.0.0                                ...           a year ago
Maintainers (1)
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 1
Last Month 1
Dependencies (10)
Dev Dependencies (0)
Dependents (0)

Copyright 2014 - 2017 © |