##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:
- master - Base npm package template (default)
- aws-dynamo - Dynamo DB
- aws-dynamo-express - Dynamo DB + Express
- bookshelf - Bookshelf.js database ORM
- bookshelf-express - Bookshelf + Express
- express - Express.js web server
###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).
Create an issue to discuss template changes.
Pull requests for template changes and new branches are even better.
Watch this project on Github.
Follow Winton Welsh on Twitter.