Nerve is a full stack framework for building fast and modern web applications.
$ npm install nerve-cli -g
Create directory:
$ mkdir example-app
$ cd example-app
Create application:
$ nervejs create app
Start service:
$ npm run app
By default application start with development environment.
For start with production environment:
$ npm run app -- --env=prod
In production mode the application uses the compiled templates and does not clear the cache for required templates.
Compile templates:
$ npm run templates