Azure / Azure/static-web-apps-cli

Support Local dev experience for API Management backend

オープン
#896 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
TypeScript
スター
668
フォーク
156
PR マージ指標
30日以内にマージされた PR はありません

説明

**Is your feature request related to a problem? Please describe.**
I have successfully linked an endpoint in API management. But there is no documentation or example to help me develop the frontend and backend together in a local environment.

**Describe the solution you'd like**

A way to help me to proxy `/api` calls into an API management endpoint. Currently, there is a big gap between this documentation: https://learn.microsoft.com/en-us/azure/static-web-apps/apis-api-management and the ability to successfully develop locally against the management API. I wish to see clear documentation about each place:
- What should my CLI command look like?
- What should my saw-cli.config.json look like?
- What should the `fetch()` call look like?
- What should the API management settings look like?

In addition, are there ways to cURL or Postman against my endpoint? I think that is the bare minimum to get backend development inner loop started.

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

リンクされた Azure API Management のドキュメントと、要求されたローカル `/api` プロキシフローから始めます。CLI コマンド、`saw-cli.config.json`、`fetch()` 呼び出し、API Management の設定、およびローカルのフロントエンド/バックエンド開発に必要な cURL または Postman の手順を文書化します。初心者が management API に対して例を最初から最後まで実行できれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
azure
領域
api, cli, documentation
issue の種類
機能追加
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。