Skip to content

Latest commit

 

History

History
34 lines (28 loc) · 1.21 KB

README.md

File metadata and controls

34 lines (28 loc) · 1.21 KB

graphql-schema-cycles-webapp

This repo contains the code of a Web application that allows users to analyze their GraphQL schemas in terms cycles in the network of relationships between types. For the actual detection and enumeration of such cycles, the application uses our graphql-schema-cycles library.

This application was developed in the context of a student thesis project described in the following thesis report:

Installation

To clone this repository and its submodules use the command:

git clone --recurse-submodules https://github.com/LiUGraphQL/graphql-schema-cycles-webapp.git

If you forgot to do this and only cloned the main repository, then you will only get empty folders for the submodules. In this case however, simply run:

git submodules init && git submodules update

Running

  1. Open cycles.html in your browser
  2. Click on "Get started!"
  3. Paste your schema into the black box e.g.
schema {
  query: Query
  mutation: Mutation
}

...
  1. Click run
  2. Voilà!