Build an API with Azure Functions

Now it’s time for you to create an API for your shopping list app.

Azure Functions

One of the greatest benefits of Azure Static Web Apps is that it hosts your web app and an API built with Azure Functions together! Azure Static Web Apps globally distributes your web app’s static assets and hosts your API in Azure Functions. With this setup, you gain the availability and speed that comes with global distribution of your web app assets. What you don’t get is also important.

You don’t need to configure and maintain a full server for your front-end or back-end. This feature is the sweet spot for Azure Static Web Apps: you get the ease of publishing your app and API with minimal configuration and maintenance.

Azure Functions serves your route endpoints, doesn’t require a full back-end server to configure or maintain, and provides automatic scaling out and scaling in based on demand. These features make Azure Functions a great API partner for your shopping list web app that serves static assets.

Azure Static Web Apps generates a unique URL for your site, which you can find on the Overview tab in the portal. The API is available through this same URL by appending /api to the URL.

sap erp pp production planning training courses malaysia

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *