A Project Boilerplate using Node, Express & Vash
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
.eslintrc
.gitignore
.npmrc
README.md
package.json
server.js

README.md

Node-Vash Boilerplate

The Node-Vash Boilerplate is a simple Express Node.js application framework powered by the Vash templating engine.

Includes built-in support for:

  • Express
  • Vash
  • Winston
  • Helmet
  • Compression
  • Mocha
  • Chai
  • Chai-http
  • Sinon
  • Istanbul
  • Node-sass
  • Eslint

Setup

  1. Install browser-sync (optional): npm install -g browser-sync
  2. Install project dependencies: cd into/project/root then run npm install

Run the Project Boilerplate

  1. Cd into the project directory: cd path/to/node-vash-boilerplate
  2. Run: npm run dev

This will start up the Node server at http://localhost:4000, start the node-sass watcher, and browser-sync

Run Unit Tests

Unit tests are located in the src/test directory.

Run: npm run test to run all unit tests.

Linting

Run: npm run lint