This experimental project shows how to use the following projects to make your Development Experience with GraphQL better:
Clone the repository, run npm i
or yarn
.
You have to setup GitHunt-API in order to be able to work on this project.
You can run the project with npm start
or yarn start
.
If the GitHunt schema changes, pull the latest schema with npm run download-schema
or yarn download-schema
.
GraphQL types and documents are generated each time you run start
or build
but you can redo them independently with the following scripts:
npm run generate-graphql-types
oryarn generate-graphql-types
npm run generate-graphql-documents
oryarn generate-graphql-documents
Run npm run lint
or yarn lint
.
To get this linting in your editor, you should tell your editor to treat GraphQL files as JavaScript files.
You are free to import any other library to this project to build a bigger application out of it. Just keep in mind this is still highly experimental.