• Stars
    star
    365
  • Rank 116,851 (Top 3 %)
  • Language
    TypeScript
  • License
    MIT License
  • Created over 7 years ago
  • Updated 8 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Generate React or Vue.js-based Progressive Web Apps from an Hydra-enabled API. Also support React Native.

API Platform Create Client

GitHub Actions npm version

API Platform Create Client is a generator to scaffold apps with Create-Retrieve-Update-Delete features for any API exposing a Hydra or OpenAPI documentation for:

  • Next.js
  • Nuxt
  • Quasar
  • React
  • React Native
  • TypeScript Interfaces
  • Vue.js
  • Vuetify.js

Works especially well with APIs built with the API Platform framework.

Documentation

The documentation of API Platform Create Client can be browsed on the official website.

Features

  • Generate high-quality TypeScript or ES6 components:
    • List view
    • Creation form
    • Editing form
    • Deletion button
  • Use the Hydra or OpenAPI documentation to generate the code
  • Generate the suitable 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)
  • Bring your own templates

Usage

Hydra

npm init @api-platform/client https://demo.api-platform.com/ output/ --resource Book

OpenAPI 3

npm init @api-platform/client https://demo.api-platform.com/docs.json output/ --resource Book --format openapi3

Credits

Created by KΓ©vin Dunglas.

Sponsored by Les-Tilleuls.coop.

Commercial support is available upon request.

More Repositories

1

api-platform

Create REST and GraphQL APIs, scaffold Jamstack webapps, stream changes in real-time.
TypeScript
8,306
star
2

core

The server component of API Platform: hypermedia and GraphQL APIs in minutes
PHP
2,366
star
3

api-pack

A Symfony pack for API Platform
526
star
4

admin

A beautiful and fully-featured administration interface builder for hypermedia APIs
TypeScript
469
star
5

schema-generator

PHP Model Scaffolding from Schema.org and other RDF vocabularies
PHP
452
star
6

demo

Demo app for the API Platform framework
PHP
295
star
7

docs

API Platform documentation
163
star
8

api-doc-parser

Transforms a Hydra API doc in an intermediate representation that can be used for various tasks such as creating smart API clients, scaffolding code or building administration interfaces.
TypeScript
99
star
9

activity-pub

API Platform ActivityPub Support
PHP
73
star
10

website

The API Platform website
TypeScript
48
star
11

laravel

[READ ONLY] API Platform for Laravel
PHP
45
star
12

postman-collection-generator

Generator for Postman collection based on API Platform
PHP
30
star
13

admin-pack

A Symfony pack for API Platform Admin
23
star
14

openapi

[READ ONLY] API Platform OpenAPI component
PHP
13
star
15

docker-compose-prod

Shell
13
star
16

esa

Edge side APIs for front-end developpers
CSS
8
star
17

json-schema

[READ ONLY] Generate a JSON Schema from a PHP class
PHP
7
star
18

api-platform-doc-parsing-check

API-Platform Documentation parsing check
JavaScript
6
star
19

symfony

[READ ONLY] API Platform for Symfony
PHP
6
star
20

symfonycon-berlin-workshop-eod

SymfonyCon Berlin Workshop End of the day repository
PHP
5
star
21

docs-website

Documentation website
CSS
5
star
22

doctrine-orm

[READ ONLY] Doctrine ORM support for API Platform
PHP
4
star
23

.github

Default community health files
3
star
24

jsonld

[READ ONLY] API Platform JSON-LD component
PHP
3
star
25

graphql

[READ ONLY] API Platform GraphQL component
PHP
2
star
26

ramsey-uuid

[READ ONLY] API Platform Ramsey UUID component
PHP
2
star
27

http-cache

[READ ONLY] API Platform HttpCache component
PHP
2
star
28

doctrine-common

[READ ONLY] Doctrine Common support for API Platform
PHP
2
star
29

metadata

[READ ONLY] API Resource-oriented metadata attributes and factories
PHP
2
star
30

hydra

[READ ONLY] API Platform Hydra component
PHP
2
star
31

serializer

[READ ONLY] API Platform Serializer component
PHP
2
star
32

documentation

[READ ONLY] API Platform Documentation component
PHP
2
star
33

state

[READ ONLY] API Platform State component
PHP
2
star
34

elasticsearch

[READ ONLY] API Platform Elasticsearch support
PHP
2
star
35

validator

[READ ONLY] API Platform Validator component
PHP
2
star
36

parameter-validator

[READ ONLY] API Platform Parameter Validator component
PHP
1
star
37

doctrine-odm

[READ ONLY] Doctrine MongoDB ODM support for API Platform
PHP
1
star
38

admin-meta

A meta package to install API Platform Admin in Symfony projects
1
star