A simple fullstack starter using webpack, express, and babel.
- See here for a extended kickstarter with angular 1 and mongoose.
npm i -g nodemon
npm i
npm start # start express server with webpack middleware
npm run build
- Creates client-side bundle to
dist/client
using webpack - Transpiles sever-side code to
dist/server
using babel-cli
npm run prod:serve # run this after `npm run build`
git pull origin master
npm run build
pm2 startOrRestart pm2-prod.json