petefitton / express-authentication

Express authentication template using Passport + flash messages + custom middleware

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Express Authentication

Express authentication template using Passport + flash messages + custom middleware

Getting Started

Scaffold w/tests (see master branch)

  • Run npm install to install dependencies
  • Use npm test to run tests
  • 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

Finished version (see brian-finished branch)

  • 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
  • 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

About

Express authentication template using Passport + flash messages + custom middleware

License:Other


Languages

Language:JavaScript 83.8%Language:HTML 15.2%Language:CSS 1.0%