Express Authentication
Express authentication template using Passport + flash messages + custom middleware
Getting Started
master
branch)
Scaffold w/tests (see - Run
npm install
to install dependencies- Use
npm run lint:js
to lint your JS - Use
npm run lint:css
to lint your CSS - Use
npm test
to run tests
- Use
- Setup the databases
- Change the database names in
config/config.json
to reflect your project - Run
createdb project_name_development
to create the development database - Run
createdb project_name_test
to create the test database
- Change the database names in
brian-finished
branch)
Finished version (see - Run
npm install
to install dependencies- Use
npm run lint:js
to lint your JS - Use
npm run lint:css
to lint your CSS - Use
npm test
to run tests
- Use
- Setup the databases
- Run
createdb express_auth_development
to create the development database - Run
createdb express_auth_test
to create the test database - Run
sequelize db:migrate
to run migrations
- Run