Azure / Azure/static-web-apps-cli
Support Local dev experience for API Management backend
- Dominant language
- TypeScript
- Stars
- 668
- Forks
- 156
- PR merge metrics
- No merged PRs in 30d
Description
**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.
Contributor guide
Research direction
Start with the linked Azure API Management documentation and the requested local `/api` proxy flow. Document the CLI command, `saw-cli.config.json`, `fetch()` call, API Management settings, and any cURL or Postman steps needed for local frontend/backend development. Done means a newcomer can follow the example end to end against the management API.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure
- Domain
- api, cli, documentation
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100