0

I have already created a Documentdb database and now i should build a REST API on Azure with Node.js. I have read the documentation, but i did't understand it good enough.

Cloud services could be a good solution, but if i didn't misunderstand, it is Python and .NET based.

If i want to build a REST API and an user interface voor the REST API, which services should i better use? Web apps? API apps? Or any another product?

https://learn.microsoft.com/en-us/azure/app-service-api/app-service-api-nodejs-api-app

Pythonist
  • 115
  • 2
  • 12

1 Answers1

0

Per Azure's documentation,

An API app can take advantage of features offered by Web Apps and Mobile Apps. The reverse is also true: if you use a web app or mobile app to host an API, it can take advantage of API Apps features such as Swagger metadata for client code generation and CORS for cross-domain browser access. The only difference between the three app types (API, web, mobile) is the name and icon used for them in the Azure portal.

An API app and a Web app will equally work for you. Currently, all of Web, Mobile and API Apps are collectively called App Services. For most scenarios, Web Apps is the best choice.

More on this:

Azure Web API vs Web App

Differences between Azure App Services and Cloud Services

Community
  • 1
  • 1
Aaron Chen
  • 9,835
  • 1
  • 16
  • 28