Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 1.43 KB

index.md

File metadata and controls

27 lines (20 loc) · 1.43 KB

The API Platform Client Generator

API Platform Client Generator is a generator for scaffolding apps with Create-Retrieve-Update-Delete features for any API exposing a Hydra documentation. Currently the following targets are available:

  • React/Redux
  • Vue.js

The generator works especially well with APIs built with the API Platform framework.

Features

  • Generate high-quality ES6 components and files built with React, Redux, React Router and Redux Form including:
    • A list view
    • A creation form
    • An editing form
    • A delete button
  • Use the Hydra API documentation to generate the code
  • Generate the suitable HTML5 input type (number, date...) according to the type of the API property
  • Display of the server-side validation errors under the related input (if using API Platform Core)
  • Client-side validation (required attributes)
  • The generated HTML is compatible with Bootstrap and includes mandatory classes
  • The generated HTML code is accessible to people with disabilities (ARIA support)
  • The Redux and the React Router configuration is also generated

Previous chapter: Admin: Handling Relations to Collections

Next chapter: React generator