It is an express framework boilerkit with clusters module implemented. It is a start-up kit for our applications in node.js specially caring about high traffic and services.
- app.on("servicesSingleLoaded") //Loads services with cluster id == 0 (folder service-single)
- app.on("servicesMultipleLoaded") //Loads services in all cluster (folder service-multi)
- app.on("beforeEmail", mailOptions) //before initiating emails with options
- app.on("email", err,info) //despite sucess/error
- app.on("emailSent", info) //on success
- app.on("errorOnEmail", err,info) //on error
- app.on('booted') //Loaded config, components, overrides and routes
- app.components.mail(to,from,subject,text,html = text,transport = "default")
- app.components.cache["type"] are instances of cacheman
- app.components.cache.file is cluster supported cacheman component cacheman-file-cluster
- app.component.cache.redis is a cacheman-redis instance