0.5.1 • Published 8 years ago

justo-generator-express v0.5.1

Weekly downloads
28
License
-
Repository
github
Last release
8 years ago

NPM version Build Status Dependency Status devDependency Status

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.

Install

npm install -g justo-cli justo-generator-express

Creating a project scaffolding

justo -g express

Adding routers

To add a router file to the app/routes directory:

justo -g express router

Adding routes

To add a route to a router file:

justo -g express route

Adding Handlebars views/templates

To add a Handlebars view/template to the app/views directory:

justo -g express hbs view

Adding Handlebars partials

To add a Handlebars partial to the app/views/partials directory:

justo -g express hbs partial
0.5.1

8 years ago

0.5.0

8 years ago

0.4.0

8 years ago

0.3.0

8 years ago

0.2.1

8 years ago

0.2.0

8 years ago

0.1.2

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago