Express authentication template using Passport + flash messages + custom middleware
- Run
npm installto install dependencies - Use
npm testto run tests - Setup the databases
- Change the database names in
config/config.jsonto reflect your project - Run
createdb project_name_developmentto create the development database - Run
createdb project_name_testto create the test database
- Change the database names in
- Run
npm installto install dependencies- Use
npm run lint:jsto lint your JS - Use
npm run lint:cssto lint your CSS - Use
npm testto run tests
- Use
- Setup the databases
- Run
createdb express_auth_developmentto create the development database - Run
createdb express_auth_testto create the test database - Run
sequelize db:migrateto run migrations
- Run