0.1.1 • Published 2 years ago

cordovabox v0.1.1

Weekly downloads
-
License
none
Repository
-
Last release
2 years ago

CordovaBox

An MVC Framework for NodeJS

Install & Launch

npm install cordovabox -g
cordovabox new applicationName
cordovabox start 

Run Development Server and Asset Pipelines

cordovabox dev

Generate API (Controller, Model, Route)

cordovabox generate-api apiModelName

Test

npm test

Environmental Variables

MONGO_URL - Mongo database host url. Used for the primary data storage. REDIS_URL - Redis server host url. Used for socket clustering and clustered session support db - database namespace prefix - Session prefix maxAge - Max cookie age secret - Your applications secret identifier

MONGO_URL="mongodb://credentials:password@yourmongodbserver.com:port/db" npm start

Server Stats

**http://localhost:3000/stats