Code for the entire scotch.io tutorial series: Complete Guide to Node Authentication with MongoDB
Current version database is ported to MySQL
We will be using Passport to authenticate users locally,
If you would like to download the code and try it for yourself:
- Clone the repo:
git clone git@github.com:manjeshpv/node-express-passport-mysql.git
- Install packages:
npm install
- Edit the database configuration:
config/database.js
- Create the database schema:
node scripts/create_database.js
- Launch:
node server.js
- Visit in your browser at:
http://localhost:8080
Licence: 1