jsbisht / nodejs-es6-express-template

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Express with ES6

An skeleton express app that allows you to use ES6 syntax. Generated by express-generator cli.

How to run

Before anything else, you must have node installed on your machine.

Running Dev Server

Run on your terminal npm run watch:dev, the server will restart everytime you make a change in your code.

Running Production Server

For stuff like heroku deployment, aws elasticbeanstalk, run npm run start

Other scripts

  • transpile - convert es6 and beyond code to es5 to a folder named dist-server
  • clean - delete transpiled folder
  • build - clean and transpile

About


Languages

Language:JavaScript 93.3%Language:HTML 4.1%Language:CSS 2.6%