Skip to content

ericpan17/express-passport-local-mysql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This example demonstrates how to use Express and Passport and mysql and twig as template to authenticate users using a username and password with form-based authentication. Use this example as a starting point for your own web applications.

Instructions

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

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

Start the server.

$ node server.js

Open a web browser and navigate to http://localhost:3000/ to see the example in action.

About

This example demonstrates how to use [Express](http://expressjs.com/) and [Passport](http://passportjs.org/) and mysql to authenticate users using a username and password with [form-based authentication](https://en.wikipedia.org/wiki/HTTP%2BHTML_form-based_authentication). Use this example as a starting point for your own web applications.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors