Skip to content

Boilerplate to get started with Node.js, Express, Sequelize and Passport.js. User authentication example.

License

Notifications You must be signed in to change notification settings

trasherdk/node-sequelize-passport

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node.js, Express.js, PUG, Sequelize.js and Passport.js Boilerplate

Boilerplate to get started with Node.js, Express, Sequelize and Passport.js.

User Registration and authentication example.

Usually all Node.js projects are associated with MongoDB for the model, I wanted a boilerplate which was associated with Sequelize.js ORM.

Pre-requisites:

  • Read up on Node.js and create some simple Express.js sites
  • Understand how routes work and play around with it
  • Read up on ORM and Sequelize here first and then here
  • Understand how Passport.js works here
  • Also understand how connect-flash works here

Start building cool apps on top of this boilerplate

  • Copy env-sample to .env and edit to match your database setup.
NODE_ENV=development

DBSERVER=localhost
DBUSER=dbusername
DBPASS=dbuserpassword
DB=databasename

About

Boilerplate to get started with Node.js, Express, Sequelize and Passport.js. User authentication example.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Pug 66.6%
  • JavaScript 30.7%
  • CSS 2.7%