We are developing a single page application using AngularJs
having an index file at the root which will be served by web server to client. Backend for this application is a HTTP restful
on a different server. Currently when developing this SPA application, we are using Node
with express
server. We need to deploy this application to azure. There are two deployment options available.
- Deploy either as web application on azure (I think its IIS server in this case)
- Or deploy on IIS using IIS Node module
We need to have a rewrite rule, which will serve index page for every other request to server in both cases.
Which one is better deployment model? Only IIS
or iisnode module with IIS
server or if anyone can suggest another option available for SPA on Azure?