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
.env
file and add SALT_VAL and SESSION_SECRET -
run
npx sequelize db:migrate
andnpx 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.