An express skeleton project with basic login/logout/register page and capabilities.
After whipping this up for a project at work I figured it could serve as a template for later projects.
Libraries used:
- bcrypt
- bluebird
- body-parser
- connect-flash
- ejs
- express
- express-session
- mongoose
- morgan
- passport
- passport-local
- passport-local-mongoose
- Foundation
Install with npm:
npm install
Define db in config.js
module.exports = {
dbname: 'test'
};
The project expects a users collection, but this can be modified in the user model if needed.