{"id":13796306,"url":"https://github.com/api-platform/demo","last_synced_at":"2025-04-05T16:09:55.607Z","repository":{"id":37815754,"uuid":"71341253","full_name":"api-platform/demo","owner":"api-platform","description":"Demo app for the API Platform framework","archived":false,"fork":false,"pushed_at":"2024-05-17T15:55:19.000Z","size":7725,"stargazers_count":288,"open_issues_count":1,"forks_count":177,"subscribers_count":31,"default_branch":"main","last_synced_at":"2024-05-18T14:48:05.907Z","etag":null,"topics":["api","api-platform","demo","hacktoberfest","kubernetes","mercure","react","symfony"],"latest_commit_sha":null,"homepage":"https://demo.api-platform.com","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/api-platform.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"api-platform","open_collective":"api-platform","tidelift":"packagist/api-platform/core"}},"created_at":"2016-10-19T09:32:15.000Z","updated_at":"2024-06-14T13:20:14.939Z","dependencies_parsed_at":"2024-01-02T17:50:06.089Z","dependency_job_id":"7a6d04c9-e7c9-45a0-89a6-3f94a1057ac3","html_url":"https://github.com/api-platform/demo","commit_stats":null,"previous_names":[],"tags_count":44,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/api-platform%2Fdemo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/api-platform%2Fdemo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/api-platform%2Fdemo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/api-platform%2Fdemo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/api-platform","download_url":"https://codeload.github.com/api-platform/demo/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247361693,"owners_count":20926643,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","api-platform","demo","hacktoberfest","kubernetes","mercure","react","symfony"],"created_at":"2024-08-03T23:01:08.687Z","updated_at":"2025-04-05T16:09:55.392Z","avatar_url":"https://github.com/api-platform.png","language":"PHP","readme":"\u003ch1 align=\"center\"\u003e\n    \u003ca href=\"https://api-platform.com\"\u003e\n        \u003cimg width=\"400\" height=\"400\" src=\"https://api-platform.com/images/zeus.svg\" alt=\"API Platform\"\u003e\n        \u003cbr /\u003eAPI Platform - Demo\n    \u003c/a\u003e\n\u003c/h1\u003e\n\nThis application is a demonstration for the [API Platform Framework](https://api-platform.com/).\nTry it online at \u003chttps://demo.api-platform.com\u003e.\n\n[![GitHub Actions](https://github.com/api-platform/demo/workflows/CI/badge.svg)](https://github.com/api-platform/demo/actions?workflow=CI)\n[![GitHub Actions](https://github.com/api-platform/demo/workflows/CD/badge.svg)](https://github.com/api-platform/demo/actions?workflow=CD)\n\n## Install\n\n[Read the official \"Getting Started\" guide](https://api-platform.com/docs/distribution/).\n\n    $ git clone https://github.com/api-platform/demo.git\n    $ cd demo\n    $ docker compose up --wait\n\nYou can now go to https://localhost\n\n## What Can I Find In This Demo?\n\nThis demo application contains several things you may be interested:\n\n| Feature                                                                                                                                                                                               | Usage                                                                                                                                                                                 |\n|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [Bringing your Own Model](https://api-platform.com/docs/distribution/#bringing-your-own-model)                                                                                                        | [Search usage](https://github.com/search?q=repo%3Aapi-platform%2Fdemo+path%3Aapi%2Fsrc+%22%23%5BApiResource%22\u0026type=code)                                                             |\n| [Model Scaffolding](https://api-platform.com/docs/schema-generator/getting-started/#model-scaffolding)                                                                                                | [Search usage](https://github.com/search?q=repo%3Aapi-platform%2Fdemo+path%3Aapi%2Fsrc+%22%23%5BApiProperty%28types%3A%22\u0026type=code)                                                  |\n| [Plugging the Persistence System](https://api-platform.com/docs/distribution/#plugging-the-persistence-system)                                                                                        | [Search usage](https://github.com/search?q=repo%3Aapi-platform%2Fdemo+path%3Aapi%2Fsrc+%22%23%5BORM%22\u0026type=code)                                                                     |\n| [Exposing Enums with API Platform](https://les-tilleuls.coop/blog/exposez-vos-enums-avec-api-platform)                                                                                                | [Search usage](api/src/Enum)                                                                                                                                                          |\n| [Validating Data](https://api-platform.com/docs/distribution/#validating-data)                                                                                                                        | [Search usage](https://github.com/search?q=repo%3Aapi-platform%2Fdemo+path%3Aapi%2Fsrc+%22%23%5BAssert%22\u0026type=code)                                                                  |\n| [Configuring Operations](https://api-platform.com/docs/core/operations/)                                                                                                                              | [Search usage](https://github.com/search?q=repo%3Aapi-platform%2Fdemo+path%3Aapi%2Fsrc+%22operations%3A%22\u0026type=code)                                                                 |\n| [Defining Which Operation to Use to Generate the IRI](https://api-platform.com/docs/core/operations/#defining-which-operation-to-use-to-generate-the-iri)                                             | [Search usage](https://github.com/search?q=repo%3Aapi-platform%2Fdemo+path%3Aapi%2Fsrc+%22itemUriTemplate%3A%22\u0026type=code)                                                            |\n| [Subresources](https://api-platform.com/docs/core/subresources/)                                                                                                                                      | [Search usage](https://github.com/search?q=repo%3Aapi-platform%2Fdemo+path%3Aapi%2Fsrc%2FEntity+%22uriTemplate%3A+%27%2Fbooks%2F%7BbookId%7D%2Freviews%7B._format%7D%27%22\u0026type=code) |\n| [Doctrine ORM Filters](https://api-platform.com/docs/core/filters/)                                                                                                                                   | [Search usage](https://github.com/search?q=repo%3Aapi-platform%2Fdemo+path%3Aapi%2Fsrc+%22%23%5BApiFilter%22\u0026type=code)                                                               |\n| [Creating Custom Doctrine ORM Filters](https://api-platform.com/docs/core/filters/#creating-custom-doctrine-orm-filters)                                                                              | [Search usage](https://github.com/search?q=repo%3Aapi-platform%2Fdemo+path%3Aapi+%22NameFilter%22+OR+%22app.filter.user.admin.name%22\u0026type=code)                                      |\n| [Overriding Default Order](https://api-platform.com/docs/core/default-order/)                                                                                                                         | [Search usage](https://github.com/search?q=repo%3Aapi-platform%2Fdemo+path%3Aapi%2Fsrc+%22order%3A%22\u0026type=code)                                                                      |\n| [Changing the Number of Items per Page Client-side For a Specific Resource](https://api-platform.com/docs/core/pagination/#changing-the-number-of-items-per-page-client-side-for-a-specific-resource) | [Search usage](https://github.com/search?q=repo%3Aapi-platform%2Fdemo+path%3Aapi%2Fsrc+%22paginationClientItemsPerPage%22\u0026type=code)                                                  |\n| [Advanced serialization](https://api-platform.com/docs/core/serialization/)                                                                                                                           | [Search usage](https://github.com/search?q=repo%3Aapi-platform%2Fdemo+path%3Aapi%2Fsrc+%22%23%5BGroups%22\u0026type=code)                                                                  |\n| [User Support](https://api-platform.com/docs/core/user/)                                                                                                                                              | [Search usage](api/src/Entity/User.php)                                                                                                                                               |\n| [Custom Doctrine ORM Extension](https://api-platform.com/docs/core/extensions/)                                                                                                                       | [Search usage](api/src/Doctrine/Orm/Extension)                                                                                                                                        |\n| [Custom State Processor](https://api-platform.com/docs/core/state-processors/)                                                                                                                        | [Search usage](api/src/State/Processor)                                                                                                                                               |\n| [Creating Async APIs using the Mercure Protocol](https://api-platform.com/docs/core/mercure/)                                                                                                         | [Search usage](https://github.com/search?q=repo%3Aapi-platform%2Fdemo+path%3Aapi%2Fsrc%2FEntity+%22mercure%3A%22\u0026type=code)                                                           |\n| [Advanced Authentication and Authorization Rules](https://api-platform.com/docs/core/security/)                                                                                                       | [Search usage](https://github.com/search?q=repo%3Aapi-platform%2Fdemo+path%3Aapi%2Fsrc%2FEntity+%22security%3A%22+OR+%22securityPostDenormalize%3A%22\u0026type=code)                      |\n| [API Testing](https://api-platform.com/docs/core/testing/)                                                                                                                                            | [Search usage](api/tests)                                                                                                                                                             |\n| [The Admin](https://api-platform.com/docs/distribution/#the-admin)                                                                                                                                    | [Search usage](pwa/pages/admin)                                                                                                                                                       |\n| [A Next.js Web App](https://api-platform.com/docs/distribution/#a-nextjs-web-app)                                                                                                                     | [Search usage](pwa)                                                                                                                                                                   |\n| [Deploying to a Kubernetes Cluster](https://api-platform.com/docs/deployment/kubernetes)                                                                                                              | [Search usage](helm/api-platform)                                                                                                                                                     |\n\n\u003e Note: this demo application implements [OpenID Connect Specification Support](https://openid.net/developers/specs/)\n\u003e (using [Keycloak](https://www.keycloak.org/)). See [usage in API](api/config/packages/security.yaml) and\n\u003e [usage in PWA](pwa/pages/api/auth/%5B...nextauth%5D.tsx).\n\n## Contributing\n\n[Read the contributing guide](.github/CONTRIBUTING.md)\n\n## Credits\n\nCreated by [Kévin Dunglas](https://dunglas.fr/). Commercial support available\nat [Les-Tilleuls.coop](https://les-tilleuls.coop/).\n","funding_links":["https://github.com/sponsors/api-platform","https://opencollective.com/api-platform","https://tidelift.com/funding/github/packagist/api-platform/core"],"categories":["Table of Contents"],"sub_categories":["example-applications"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapi-platform%2Fdemo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fapi-platform%2Fdemo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapi-platform%2Fdemo/lists"}