Azure / Azure/static-web-apps-cli
Support Local dev experience for API Management backend
- Vorherrschende Sprache
- TypeScript
- Sterne
- 668
- Forks
- 156
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
**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.
Beitragsleitfaden
Rechercherichtung
Beginne mit der verlinkten Dokumentation zu Azure API Management und dem angeforderten lokalen `/api`-Proxy-Ablauf. Dokumentiere den CLI-Befehl, `saw-cli.config.json`, den `fetch()`-Aufruf, die Einstellungen von API Management sowie alle für die lokale Frontend-/Backend-Entwicklung erforderlichen cURL- oder Postman-Schritte. Als erledigt gilt die Aufgabe, wenn ein Neuling dem Beispiel von Anfang bis Ende gegen die management API folgen kann.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- azure
- Bereich
- api, cli, documentation
- Issue-Typ
- Feature
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100