Skip to content

ZachTRice/express-passport-mysql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

express-passport-mysql

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.

Instructions

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

$ git clone https://github.com/passport/express-passport-mysql.git
$ cd express-passport-mysql
$ npm install

Start the server.

$ npm start

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

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published