How to properly package a Node.js and React app stripping the container of all unneeded files?
I have a Node.js backend that serves up the React frontend (later I can do CDN probably) and for now, I plan on disallowing CORS so React must talk to my Node.js backend only. The prototype for this is on GitHub.
How to properly package a nodejs + react app stripping the container of all extra not needed files?
I have a nodejs backend that serves up the react front end(later I can do CDN probably) and for now, I plan on disallowing CORS so react must talk to my nodejs backend only. The prototype for this is minimal code and on github https://github.com/deanhiller/ts-prototype