Based on https://github.com/manjeshpv/node-express-passport-mysql
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
- Install packages:
make install
- Edit the database configuration:
config/database.js
- Create the database schema:
make database
- Create dummy data (currently alpha):
make data
- Clean database:
make clean
- Create dummy data (currently alpha):
- Launch:
make run
- Visit in your browser at:
http://localhost:8080