wysow / admin

Administration interface for API Platform

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 && 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.

About

Administration interface for API Platform

License:MIT License


Languages

Language:JavaScript 86.7%Language:HTML 13.3%