I tried deploying My application I have angular express/Node and Mongo,I tried to do nginx for Angular, set sites-available nginix config to the index.html of angular after the ng build prod from my local and transferred files to server,Also i did npm start for Node and also started Mongo,Now the node shows as started and node listens on port 3001 for me but i see that the Angular isnt able to communicate with backend and I see 404 in console logs of angular.Also i am not sure about the structure of Mean projects for deployment, should they be in one project only as in the ng build --prod files should be inside node directories and should be refereed or something
↧