It gives a basic Node JS project with ES6 and gulp.. This project sets you the necessary files to run a node.js app with ES6 capabilities. It uses babel to compile ES6 javascript.
- Node.js v5.0.0 and above
- Clone repo into a folder
cd es6-node-gulp-elastic-boilerplate
npm install -g gulp
npm install
- install node deps- Install and run elasticsearch instance
gulp build
- static buildgulp
- start the server in dev modenpm start
- start server
npm install
To generate the initial build, which also copies over fonts, images:
gulp build
To watch for changes to JS
gulp watch
To run the server in dev mode which builds the code and watches for changes
gulp