We have integrated the APIs and now want to run the system in production mode.
Also, we want to run the service as daemon so that we don't have to keep Terminal open all the time. We tried to run 'forever' package but it's not working.
hi , if you want to run API as daemon, first give$ npm run build ,$ npm install forever -g and then give$ sudo NODE_ENV=production forever start dist/app.js, API will run at background without any interupts
$ npm run build
$ npm install forever -g
$ sudo NODE_ENV=production forever start dist/app.js
Thank you 🙂