Create Apps and Static Websites with this Node.JS boilerplate.
The easiest way to get started is to clone the repository:
# Get the latest snapshot
$ git clone --depth=1 https://github.com/pinceladasdaweb/nodejs-boilerplate.git myproject
$ cd myproject
$ git remote rm origin
# Install NPM dependencies
$ npm install
$ npm start
The idea of this is boilerplate also generate a static HTML pages generated by all Node.js. For that use Grunt and Assemble and run Grunt task:
$ grunt build
The "build" directory is where will all static HTML generated by this boilerplate along with the assets files (JavaScript, CSS and Images). The .htaccess file is responsible for doing the rewrite your URL's assets.
Name | Description |
---|---|
bin/ | Start server. |
helpers/ | Handlebars helpers. |
middleware/ | Express middlewares. |
public/ | Static assets (fonts, css, js, img). |
routes/ | Routes for this project. |
test/ | Tests. |
views/ | Views and Partials for this project. |
app.js | Main application file. |
Developed a website using this boilerplate? Tell us how was your experience, send the link via the same pull-request.
NodeJS Boilerplate was made with love by these guys and a bunch of awesome contributors.
| | --- | --- | --- | --- | --- | --- | --- Pedro Rogério | William Bruno | Renan Pimentel
Check CONTRIBUTING.md for more information.
Check Releases for detailed changelog.