Skip to main content

与 API 后端集成

这些教程将帮助你将你的应用与在另一个端口上运行的 API 后端集成,使用 fetch() 访问它。

¥These tutorials will help you to integrate your app with an API backend running on another port, using fetch() to access it.

Node

检查 本教程。你可以找到配套的 GitHub 存储库 此处

¥Check out this tutorial. You can find the companion GitHub repository here.

Ruby on Rails

检查 本教程。你可以找到配套的 GitHub 存储库 此处

¥Check out this tutorial. You can find the companion GitHub repository here.

API 平台(PHP 和 Symfony)

¥API Platform (PHP and Symfony)

API 平台 是一个旨在构建 API 驱动项目的框架。它允许在几分钟内创建超媒体和 GraphQL API。它附带一个官方的 Progressive Web App 生成器和一个动态管理界面,两者都是为 Create React App 构建的。检查 本教程

¥API Platform is a framework designed to build API-driven projects. It allows creating hypermedia and GraphQL APIs in minutes. It is shipped with an official Progressive Web App generator as well as a dynamic administration interface, both built for Create React App. Check out this tutorial.

C#(ASP.NET 核心)

¥C# (ASP.NET Core)

ASP.NET Core 有一个使用 Create React App 的 React 项目模板。检查 他们的文档

¥ASP.NET Core has a React project template that uses Create React App. Check out their documentation.