Administration interface for API Platform
JavaScript HTML
Latest commit 1edb3af Nov 23, 2016 @dunglas dunglas committed on GitHub Merge pull request #3 from krismas/bug-placeholder
Fix a bug with placeholder creation
Permalink
Failed to load latest commit information.
.gitignore first commit Nov 30, 2015
LICENSE first commit Nov 30, 2015
README.md Little optim in README Dec 1, 2015
admin.js Fix a bug with placeholder creation Jul 28, 2016
bower.json first commit Nov 30, 2015
index.html first commit Nov 30, 2015

README.md

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

  1. Clone the project and install dependencies:git clone https://github.com/api-platform/admin && cd admin && bower install
  2. Edit the index.html file and point the ENTRYPOINT_URL to your API entrypoint.
  3. 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.