Azure / Azure/static-web-apps-cli

Support Local dev experience for API Management backend

Đang mở
#896 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
TypeScript
Star
668
Fork
156
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

**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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Bắt đầu với tài liệu Azure API Management được liên kết và luồng proxy `/api` cục bộ được yêu cầu. Ghi lại lệnh CLI, `saw-cli.config.json`, lệnh gọi `fetch()`, các cài đặt của API Management và mọi bước cURL hoặc Postman cần thiết cho việc phát triển frontend/backend cục bộ. Hoàn thành nghĩa là một người mới có thể làm theo ví dụ từ đầu đến cuối với management API.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
azure
Lĩnh vực
api, cli, documentation
Loại issue
Tính năng
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
35/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.