Node.js for serving API of MSS.
- Install all dependencies
npm ci --omit=dev
- Run backend in production mode
npm run production
backend.config.json
– Config file with ports, DB, logging, rate limiter
Check with Jest – npm run test
, see tests themselves in tests
folder.
This backend serves for Prometheus monitoring at /metrics
. Check global Docker Compose file and prometheus.yml
.