I have an Angular app (9.1.4) and a node.js server application (12.14.1). My files are currently configured like this:
MyApp
- package.json
- angular.json
- server
- server.js
- src
- app
- asserts
- environments
- angular html/css/ts
- node_modules
In order to runt his locally I have to run node server.js
in one cmd prompt and ng serve
in another. I hope to deploy this project to Azure but am not sure how to set this up so that it can run in a single app service. So:
- How do I run the server (node.js) and the app (angular) via the same command locally?
- Once I have this setup locally, what (if anything) needs to be changed in order to run in Azure?