Boilerplate for starting a project
# install dependencies
npm install
# serve client side with hot reload at localhost:8080
npm run dev
# start server on localhost:5000, NOTE: you need to restart the server anytime you make changes to the server files
node server
# build for production with minification
npm run build
# run testing suite
npm run test
For detailed explanation on how things work, consult the docs for