This question comes in two parts based on how it has to work in production.
Create Angular 2 web app (SPA) that calls the api
NodeJS API (RESTful)
Host on Azure
Here's the first question:
To host on Azure and hopefully use Continuous Deployment from github, would I have to create two Azure Web Apps? One for the Angular 2 app, and one for the NodeJS API?
Or can I integrate the RESTful NodeJS API into the application with the Angular 2 app? This would probably only require one web app in Azure. If this is possible, I'm confused as to how to execute both the API and the Angular 2 app on Azure. It seems the command "npm start" usually starts the Angular 2 app, but can the NodeJS API be launched as well?