Hi, Need to know, How to deploy API Production Build?
Thank you.
make api build in local, deploy dist folder in server configure database credentials in .env.production file in server and give below command
$ NODE_ENV=production node dist/app.js $ sudo NODE_ENV=production forever start dist/app.js
check with below link, that is for pro version installation but that node version will diff https://www.spurtcommerce.com/help/developers/deployment/deployment-guide/deployment-of-spurtcommerce-in-ubuntu-with-apache
spurtcoder Thank you very much for the response, let me give a try.