百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
D

demo

> 前端框架
开源

API 平台框架的演示应用程序

317 stars0 点赞0 次浏览
访问官网GitHub

工具介绍

API 平台框架的演示应用程序

API Platform - Demo

This application is a demonstration for the API Platform Framework. Try it online at .

Install

Read the official "Getting Started" guide.

$ git clone https://github.com/api-platform/demo.git
$ cd demo
$ docker compose up --wait

You can now go to https://localhost

Authentication and usage:

  • Admin: the credentials are shown on https://localhost/admin You can create a Book with https://openlibrary.org/books/OL2055137M.json as value for Book Reference
  • API:
    • endpoints without the /admin prefix are public and can be called without further step
    • endpoints with the /admin prefix require an authentication: open https://localhost/docs then check the “openid” option under “Scopes” and click on “Authorize”. If you are not yet logged in on the API then log in with the credentials, and finally click on “Close”. You can now perform authenticated requests through the API, like listing books on GET /admin/books

What Can I Find In This Demo?

This demo application contains several things you may be interested:

Feature Usage
Bringing your Own Model Search usage
Model Scaffolding Search usage
Plugging the Persistence System Search usage
Exposing Enums with API Platform Search usage
Validating Data Search usage
Configuring Operations Search usage
Defining Which Operation to Use to Generate the IRI Search usage
Subresources Search usage
Doctrine ORM Filters Search usage
Creating Custom Doctrine ORM Filters Search usage
Overriding Default Order Search usage
Changing the Number of Items per Page Client-side For a Specific Resource Search usage
Advanced serialization Search usage
User Support Search usage
Custom Doctrine ORM Extension Search usage
Custom State Processor Search usage
Creating Async APIs using the Mercure Protocol Search usage
Advanced Authentication and Authorization Rules Search usage
API Testing Search usage
The Admin Search usage
A Next.js Web App Search usage
Deploying to a Kubernetes Cluster Search usage

Note: this demo application implements OpenID Connect Specification Support (using Keycloak). See usage in API and usage in PWA.

Contributing

Read the contributing guide

Credits

Created by Kévin Dunglas. Commercial support available at Les-Tilleuls.coop.

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

PHPapiapi-platformdemohacktoberfest

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类前端框架
定价开源

> 相关工具

R
React
用于构建用户界面的 JavaScript 库
V
Vue.js
渐进式 JavaScript 框架
N
Next.js
基于 React 的全栈 Web 框架