簡體   English   中英

在 Azure 上部署 Angular 后端 API

[英]Deploy Angular Backend API on Azure

I have made a backend API that connects to the sql that is also hosted on my azure account, however im not sure how to deploy this api on azure and make it available on there so that i can deploy my angular app to connect to this url而不是本地主機。

你們知道有關如何將基於 api 的后端 typescript 部署到 azure 的任何教程或建議嗎

謝謝

Azure 中有一項新服務聽起來非常適合您的需求: Azure Z84A8921B25F505D0D2077AEB5ZDB4BC16Z ZC6E190B2854633

您可以在文檔中找到教程: 快速入門:構建您的第一個 static web 應用程序

Azure Static Web Apps is a service that automatically builds and deploys full stack web apps to Azure from a GitHub repository.

您可以使用 Static Web 應用程序做什么

  • 使用 Angular、React、Svelte、Vue 等框架和庫以及 Azure 函數后端構建現代 JavaScript 應用程序。
  • 使用 Gatsby、Hugo、VuePress 等框架發布 static 站點。
  • 使用 Next.js 和 Nuxt.js 等框架部署 web 應用程序。

來源:什么是 Azure Static Web 應用程序預覽?

編輯:
In short, this service enables you to build a frontend using libraries like Angular, Vue and React, and also provides a way to build and deploy an API using JavaScript or TypeScript Azure Functions. 當然,您可以手動執行此操作,但如果有集成服務...

正如評論中所發布的那樣:我並不是說 Static 網站托管在 Azure 存儲中,盡管它可以很好地工作,盡管它沒有為 API 提供解決方案。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM