Hardwire
Work in progress
Structured and scalable node.js app container
(if you are looking for the CMS check JetKit)
Features
- Scalable architecture structured in blocks and plugins
- Tree based dependency container
- Build system
- Boilerplate generator
- Environment oriented configurations loader
- Add .env file content to environment variables
- Environment variables processor
Instructions
Coming soon
Express - MongoDB example
var Hardwire = express = mongoose = ; var hardwire = output: 'output/build' // folders to build in every block buildFolders: 'public' 'views' // default config config: port: 3000 // force load production environment environment: 'production' // rules for adding environment variables into config envProcessing: // this will set MONGO_URI value from environment variables // into mongodb.uri property of config MONGO_URI: 'mongodb.uri' // to do before build blocks { // this.config .... ; } // to do after build blocks { ; } // work with config before load config { // this.config .... ; } // work with config after load config { ; } // work with tree before load tree { thistree ; } // rules for load every block { thistree ; } // work with tree after load tree { ; } // to do after resolve tree // afterAll catch all middleware errors { if err throw err; var app = thistree http = ; http; console; } ; // resolve frameworkhardwire;
© 2015 Jacobo Tabernero - jacoborus
Released under MIT License