Easily write your Express Node application in the ES2015 syntax. Ideal for writing API's.
Uses Babel to compile your code, so you have access to the full ES2015 spec (and then some) regardless of what version of Node.js your server is running.
Support for the object spread operator and class properties is included for your programming enjoyment.
npm start
Speeds up development by using Nodemon to restart the application when a file is changed.
Compile your ES2015 to ES5 by running:
npm run compile
Then you can run the compiled version by running:
node compiled_server.js
If you want to ensure your application stays online, even if your script encounters an error, PM2 has your back.
Ensure PM2 is installed on your machine:
npm install pm2 -g
Then to compile your ES2015 code to straight ES5 code and serve the compiled version with PM2, you can run:
npm run startProd