-
Run the mongodb daemon.
mkdir data; mongod --dbpath=./data -
Run
npm run dev-serverfor a nodemon backend auto-refresh. -
(Optional) Run
npm run dev-clientfor a hot webpack dev server, for frontend development. -
API calls (of the form www.website.com/api/*) are proxied from the
dev-clientserver to thedev-serverserver. Generally, just run both servers concurrently for development and connect on port 8080 as configured.
Simply run node app.js.
