How to make a production build of Node.js express API

Viewed 1256

I have a React.JS frontend and Node.js API built with express. I want to make a production build of express API like we do in React.js using a command like npm run build. How can I achieve this? I know there is heroku for easy production deployments but I am using a VPS here.

Thanks :)

0 Answers
Related