API Platform Admin
This project is an early stage. It's actually a Proof of Concept. It is highly experimental and will be fully rewritten. Use it at your own risk.
Generate automatically an admin interface for any API built with API Platform or exposing a Hydra documentation.
The admin is generated using the awesome ng-admin library.
Features
- Configure entities and properties (full CRUD support)
- Guess field types
- Guess required types
- Add placeholders
- Paginate
Install
- Clone the project and install dependencies:
git clone https://github.com/api-platform/admin && cd admin && bower install - Edit the
index.htmlfile and point theENTRYPOINT_URLto your API entrypoint. - Your admin is up and running.
Troubleshooting
- Be sure to set the correct CORS headers on the API.
Todo
- Relations support
- Expand JSON-LD document in the Restangular response interceptor
- Sort support
- Rewrite it in ES6
- Add tests
Credits
Built by Kévin Dunglas and sponsored by Les-Tilleuls.coop. Released under the MIT license.