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.
-
git clone -
move into the file that you want to work with
-
npm i -
create a
.envfile and add SALT_VAL and SESSION_SECRET -
run
npx sequelize db:migrateandnpx sequelize db:seed:all -
nodemon server.js- The password for the seed accounts are
password
- The password for the seed accounts are
Express, Node, Sequalize, Passport, EJS, Handlebars, and related packages.