Generate a CRUD application built with React, Redux and React Router from an Hydra-enabled API

this package has been deprecated in favor of @api-platform/client-generator
Last updated 3 years ago by soyuka .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @api-platform/generate-crud 
SYNC missed versions from official npm registry.

API Platform CRUD Generator

Build Status npm version MIT Licence


A generator to scaffold a React/Redux app with Create-Retrieve-Update-Delete features for any API exposing a Hydra documentation. Works especially well with APIs built with the API Platform framework.


npm install -g @api-platform/generate-crud


api-platform-generate-crud https://demo.api-platform.com/ output/ --resource Book


  • Generate high-quality ES6 components and files built with React, Redux, React Router and Redux Form including:
    • A list view
    • A creation form
    • An edition form
    • A deletion 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 include mandatory classes
  • The generated HTML code is accessible to people with disabilities (ARIA support)
  • The Redux and the React Router configuration is also generated


The documentation of API Platform CRUD Generator can be browsed on the docs repository.


Created by Kévin Dunglas. Sponsored by Les-Tilleuls.coop. Commercial support available upon request.

Current Tags

  • 0.1.7                                ...           latest (3 years ago)

1 Versions

  • 0.1.7 [deprecated]           ...           3 years ago
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 0
Last Month 1
Dependencies (7)
Dev Dependencies (12)
Dependents (0)

Copyright 2014 - 2016 © taobao.org |