Node.js (v6.10.0+) boilerplate to start quickly your from-scratch projects.
This boilerplate contains:
- ExpressJS, for your web server.
- Logs to trace HTTP requests and Node.js messages with Morgan and Log4JS.
- Units tests with Mocha, Chai, Supertest and Istanbul.
- Gulp, awesome to build your production package.
- Yarn, instead of NPM, to manage dependencies.
- ESLint, to standardize source code.
- apiDoc, to generate documentation for API.
- documentation, to generate developer documentation.
- Node.js v6.10.0
- Yarn:
npm i -g yarn
Install dependencies with yarn
command.
Run the server with npm run dev
command.
Use ESLint plugin for your code editor to lint easely your code:
The Harmony
branch of UglifyJS2 is used to be compatible with ECMAScript standards.
Check the package.json
if necessary.