A boilerplate using the PHENt stack: PostgreSQL, Handlebars, Express & Node with Tape testing
1- Clone or fork the repo:
$ git clone https://github.com/ameliejyc/phent-boilerplate.git
2- Install all the dependencies by cd-ing into the folder and running:
$ npm install
3- Run tests using:
$ npm test
4- Start the server:
$ npm run devStart
5- Navigate to to http://localhost:3000/ to view the page. The devStart script starts and watches for changes on the server, as well as watching and building the style.min.css file on changes to css files.
6- Code coverage is set up and can be viewed with the command:
npm run nyc