This application is a demonstration for the API Platform Framework. Try it online at https://demo.api-platform.com.
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
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.
Created by Kévin Dunglas. Commercial support available at Les-Tilleuls.coop.