Demo
Demo app for the API Platform framework
This application is a demonstration for the [API Platform Framework](https://api-platform.com/). Try it online at . The project is written primarily in PHP, distributed under the MIT License license, first published in 2016. Key topics include: api, api-platform, demo, hacktoberfest, kubernetes.
This application is a demonstration for the API Platform Framework.
Try it online at https://demo.api-platform.com.
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.jsonas value for Book Reference - API:
- endpoints without the
/adminprefix are public and can be called without further step - endpoints with the
/adminprefix 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 onGET /admin/books
- endpoints without the
What Can I Find In This Demo?
This demo application contains several things you may be interested:
Note: this demo application implements OpenID Connect Specification Support
(using Keycloak). See usage in API and
usage in PWA.
Contributing
Credits
Created by Kévin Dunglas. Commercial support available
at Les-Tilleuls.coop.
Contributors
Showing top 12 contributors by commit count.
