practicalli / practicalli/clojure-web-services

GraphQL Clients and API construction

Open
#102 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

API API documentation graphql
Dominant language
Markdown
Stars
16
Forks
14
PR merge metrics
No merged PRs in 30d

Description

Create sections on

  • consuming graphql apis
  • creating graphql apis (hasura, walmart library
Clojure as a GraphQL API client
Other clients
Clojure to create a GraphQL API
Testing graphql apis
Documentation generators

How to generate searchable documentation for a GraphQL api.

Ideally the GraphQL API should be self documenting and each field description is exposed when browsing the graph using a graphql client. An example of how a graph can be self documenting: hasura uses field descriptions from comments added to columns in the Postgresql database. In lacinia, I assume a similar thing could be done or the schema if defined in EDN could be self documenting and therefore be used to generate the field descriptions in a graphql client.

Resources to review

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by narrowing the proposed documentation sections around consuming and creating GraphQL APIs in Clojure, then review the listed client projects, Lacinia, GraphQLize, testing resources, and documentation generators. Done should mean the agreed scope is documented with useful examples, testing guidance, and an explanation of self-documenting schemas.

Written by the indexing model from the issue text.

Assessment

Tech stack
clojure, node.js, postgresql
Domain
api, backend-api-design, documentation
Issue type
Documentation
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.