API Toolkit
Data modeling tools:
- JSON Editor Online & JSON-LD Playground or Hackolade for JSON objects
API documentation and testing:
- Definitions as OpenAPI specification
- Swagger Editor
GraphQL API
- Client https://github.com/graphql/graphiql & as desktop app: https://github.com/skevy/graphiql-app
- To create mock back-end API with one of: https://fakerql.com https://github.com/APIs-guru/graphql-faker https://www.graph.cool/
To design & test the schema:
- GraphQL SDL — Schema Definition Language & an intro
- GraphQL Faker (editor for GraphQL IDL, and built-in GraphQL server to mock the future API or extend the existing API with realistic data from faker.js. No coding required, just write GraphQL IDL)
To generate documentation & test queries:
- GraphiQL (in-browser tool for writing, validating, and testing GraphQL queries, can point it to a local setup or a server), has desktop app
- GraphQL Playground (uses components of GraphiQL under the hood but is meant as a more powerful GraphQL IDE enabling better (local) development workflow), has desktop app
- https://www.npmjs.com/package/graphql-docs (to dynamically generate a documentation explorer for GraphQL schemas, aims to provide a better overview of a schema than GraphiQL, but without querying features)
Exploring the draft client API schema for CommonsPub and MoodleNet
- Install GraphQL faker i.e.
npm install -g graphql-faker
- Check out (or download) the schema from https://gitlab.com/OpenCoop/CommonsPub/Docs/blob/master/graphql/commonspub.grqphql
- Run with
graphql-faker --open commonspub.grqphql
- You can copy/paste the example queries from docs in https://gitlab.com/OpenCoop/CommonsPub/Docs/blob/master/graphql/ into the GraphiQL tab (left nav) to get started
- You should see something like this:
Note: See this issue for discussion of the schema.
To research
- https://graphql.org
- http://www.hypergraphql.org
- https://www.apollographql.com
- https://akryum.github.io/vue-apollo/
- https://medium.com/@lachlanmiller_52885/graphql-basics-and-practical-examples-with-vue-6b649b9685e0