Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 676 Bytes

File metadata and controls

17 lines (13 loc) · 676 Bytes

Local Strategy Passport

Background

This was converted from Brad Traversy's Node.js With Passport Authentication video. That tutorial was written with EJS and Mongo. I converted this to Sequalize with EJS and Sequalize with Handlebars.

To Run Locally

  • git clone

  • move into the file that you want to work with

  • npm i

  • create a .env file and add SALT_VAL and SESSION_SECRET

  • run npx sequelize db:migrate and npx sequelize db:seed:all

  • nodemon server.js

    • The password for the seed accounts are password

Technology Used

Express, Node, Sequalize, Passport, EJS, Handlebars, and related packages.