Learn how to build a modern JavaScript stack from the JavaScript Stack from Scratch tutorial.
Clone the repo.
$ git clone https://github.com/7anshuai/js-stack
Install packages.
$ npm install
Run in development mode.
$ npm run dev:server
and run webpack-dev-server in another terminal.
$ npm run dev:client
Run in production mode.
$ NODE_ENV=production npm start