Skip to content

winton/node-template

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

##NodeTemplate - express

Node.js web app template.

###Goals

  • Use widely accepted practices and libraries
  • Automate the creation and renaming of projects
  • Projects share git history for easy updates
  • Add functionality through template branches

###Install

npm install node-template -g

###Create a new project

node-template <project-name> express

Other available branches:

###Coffeescript (optional)

Run grunt to watch for Coffeescript changes in src and compile them to lib.

###Start working

Run bin/<project-name> to start the web server.

Run grunt to watch for changes in src and compile them to lib.

###Tests

Run grunt mocha to execute your test suite with coverage statistics.

The npm test command runs the test suite without coverage (Travis-CI).

Contribute

Create an issue to discuss template changes.

Pull requests for template changes and new branches are even better.

Stay up to date

Watch this project on Github.

Follow Winton Welsh on Twitter.