• Stars
    star
    365
  • Rank 114,445 (Top 3 %)
  • Language
    TypeScript
  • License
    MIT License
  • Created over 7 years ago
  • Updated 3 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
291
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

postman-collection-generator

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

admin-pack

A Symfony pack for API Platform Admin
23
star
13

docker-compose-prod

Shell
13
star
14

openapi

Models to build and serialize an OpenAPI specification.
PHP
11
star
15

json-schema

Generate a JSON Schema from a PHP class
PHP
6
star
16

api-platform-doc-parsing-check

API-Platform Documentation parsing check
JavaScript
6
star
17

symfonycon-berlin-workshop-eod

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

.github

Default community health files
3
star
19

graphql

Build GraphQL API endpoints
PHP
2
star
20

ramsey-uuid

API Platform RamseyUuid bridge
PHP
2
star
21

doctrine-orm

API Platform Doctrine ORM component
PHP
2
star
22

http-cache

API Platform HttpCache component
PHP
1
star
23

docs-website

Documentation website
CSS
1
star
24

doctrine-common

API Platform Doctrine Common component
PHP
1
star
25

parameter-validator

API Platform Parameter Validator component
PHP
1
star
26

metadata

API Resource-oriented metadata attributes and factories
PHP
1
star
27

symfony

Symfony API Platform integration
PHP
1
star
28

hydra

API Platform Hydra component
PHP
1
star
29

documentation

API Platform Documentation component
PHP
1
star
30

serializer

API Platform Serializer component
PHP
1
star
31

jsonld

API Platform JSON-LD component
PHP
1
star
32

state

API Platform state interfaces
PHP
1
star
33

elasticsearch

API Platform Elasticsearch bridge
PHP
1
star
34

validator

API Platform Validator component
PHP
1
star
35

doctrine-odm

API Platform Doctrine MongoDB ODM component
PHP
1
star
36

laravel

Laravel component
1
star
37

admin-meta

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