Ludicrously practical, reusable web app parts for Express with MongoDB. Acts as a convenience wrapper around express to reduce boilerplate cruft. Aims to provide an alternative to the MEAN stack without explicitly using angular, and certainly avoiding the use Mongoose, which forces a schema on a database (MongoDB) whose primary benefit is the lack of one. Implied is a work in progres but is used in several production websites.
Implied suggests you make modules callable, and take an express app as their first argument. Your app root needs a config.js in this format, at the very least.
Here's what your app.js should look like for a minimal implied installation.
var implied = ;app = ; // initialize the library.app; // choose plugins you want in dependency order. Currently many things depend on 'mongo'.
The 'mongo' module wraps mongojs (a mongodb client), and sets an app variable with the database reference for use by other modules.
A reasonable set of defaults for express middleware, for a typical website. It includes bodyParser, cookies, sessions. If you do need extra middleware in between the default middleware (ordinally), you won't be able to use this.
The 'users' module handles user registration, logins and password resets. Users are stored in MongoDB so this depends on the 'mongo' module.
app; // to install
You'll need the following views with HTML forms, unless you'd rather use the rest interface.
views/pages/login.jade - contains a form with an input of name "password" and "email", at least. views/pages/signup.jade - contains a form with an input of name "password" and "email", at least. views/pages/password-reset-submit.jade - contain a form with an input of name "email".
Provides other modules with a wrapped sendgrid email client, app.get('mailer').