Gogo72 / express-es6-sample

node, expressjs app that allows use of es6. made with an article

Home Page:https://www.freecodecamp.org/news/how-to-enable-es6-and-beyond-syntax-with-node-and-express-68d3e11fe1ab/

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

node, expressjs app that allows use of es6. made with an article

https://www.freecodecamp.org/news/how-to-enable-es6-and-beyond-syntax-with-node-and-express-68d3e11fe1ab/


Languages

Language:JavaScript 89.9%Language:HTML 6.2%Language:CSS 3.9%