MEN
A Module based Express framework by Node.js
Heavily inspired by (copied/extracted from) MEAN.JS
Quick Start
var men = ;menstart;
Project Structure
.
├── config
│ ├── default.js # default/base config
│ ├── development.js # development config
│ ├── production.js # production config
│ └── local.js # local config
├── modules
│ ├── user # user module example
│ │ ├── route.js # express route for user
│ │ ├── controller.js # user controller
│ │ └── service.js # user service
│ └── ...
├── public
│ └── ... # public static files
├── view
│ └── ... # express ejs views
└── app.js # server entry point
Configuration
All config entries are optional. See config.example.js
For postgres, sequelize instance and models are bound to Sequelize as Sequelize.sequelize and Sequelize.models.
All express functions can be overwritten by men.express:
var men = ; menexpress { var session = ; var MongoStore = session; menconfigexpresssessionstore = url: menconfigexpresssessionstoreurl ; app;}; menstart;