- node.js
npm install
to install dependenciesnpm run build
to build an applicationnpm run server
to start a webserver
To configure the webserver port, edit ecosystem-production.config.json
or ecosystem-development.config.json
.
For development, instead of npm run build
, run npm run buildDev
and instead of npm run server
, run npm run serverDev
. This starts the automatic rebuilding of the application when changing files. By default, the application is available at localhost:3033.
npm run test
to run testsnpm run testDev
to run tests with the watcher