pinceladasdaweb / nodejs-boilerplate

Create Apps with Node.JS + Express 4 and Handlebars.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

nodejs-boilerplate Build Status

Create Apps and Static Websites with this Node.JS boilerplate.

Getting Started

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

Build Static HTML

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.

Project Structure

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.

Sites developed with this boilerplate

Developed a website using this boilerplate? Tell us how was your experience, send the link via the same pull-request.

Team

NodeJS Boilerplate was made with love by these guys and a bunch of awesome contributors.

Pedro Rogério | William Bruno | Renan Martins Pimentel --- | --- | --- | --- | --- | --- | --- Pedro Rogério | William Bruno | Renan Pimentel

Contributing

Check CONTRIBUTING.md for more information.

History

Check Releases for detailed changelog.

License

MIT

About

Create Apps with Node.JS + Express 4 and Handlebars.js

License:MIT License


Languages

Language:Handlebars 37.4%Language:JavaScript 29.4%Language:HTML 25.7%Language:CSS 7.5%Language:Procfile 0.1%