{"repo":"charlypoly/react-apollo-form","free":true,"listed":false,"github":"https://github.com/charlypoly/react-apollo-form","clone":"git clone https://github.com/charlypoly/react-apollo-form.git","description":"Build React forms based on GraphQL APIs.","language":"TypeScript","stars":199,"topics":["react","graphql-api","apollo","mutations","form","forms","reactforms","graphql"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"&lt;ApolloForm&gt; Build React forms based on GraphQL APIs. ----------------- The library is currently under active rewriting, please see this ticket for updates ----------------- ------------------------- To get started more easily, please read Getting started: build a GraphQL Form in 5 minutes ------------------------- Pre-requisites - apollo-codegen (globally) - react@^15 - react-apollo@^15 Optionally - typescript@^2.8.4 ------------------------- Installation Install package - install yarn add react-apollo-form Add script to your project - add to your package.json , at the scripts section : This script will generated 3 files needed by : - schema.json (GraphQL Introspection Query result as JSON) - mutations.d.ts (all available mutations names as TypeScript type definition) - apollo-form-json-schema.json (GraphQL Schema as JSON Schema) Tips: you can change the output directory of theses with the second argument or -o option ------------------------- Usage Once the files generated, we can setup a Form. ------------------------- API ApolloForm is based on the amazing Mozilla library react-jsonschema-form. Most of the questions regarding JSON Schema, validations or rendering are in react-jsonschema-form documentation To get started more easily, please read Getting started: build a GraphQL Form in 5 minutes The following subjects are specific to ApolloForm : - configure your \"Form component\" - Theming - Build a form without mutation - Add a form specific Widget (outside a theme)","default_branch":null,"files":null,"tree":[],"storefront":"/r/charlypoly","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/charlypoly/react-apollo-form/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}