Generator for Express applications.
Proudly made with ♥ in Valencia, Spain, EU.
Features:
- Allow to configure several middlewares:
Helmet
,Morgan
,serve-static
,serve-favicon
,bodyParser
,express-session
... - Allow to add new router files to the
app/routes
directory. - Allow to add new routes to a router files.
- Allow to add new Handlebars views.
- Allow to add new Handlebars partials.
Note. You can learn Express and this generator, in Spanish, on nodemy.com.
npm install -g justo-cli justo-generator-express
justo -g express
To add a router file to the app/routes
directory:
justo -g express router
To add a route to a router file:
justo -g express route
To add a Handlebars view/template to the app/views
directory:
justo -g express hbs view
To add a Handlebars partial to the app/views/partials
directory:
justo -g express hbs partial