Azure / Azure/static-web-apps-cli

Support Local dev experience for API Management backend

Open
#896 1 comment 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.