Skip to content

Latest commit

 

History

History
56 lines (37 loc) · 2.24 KB

README.md

File metadata and controls

56 lines (37 loc) · 2.24 KB

GraphQL framework based on light-4j

Stack Overflow | Google Group | Gitter Chat | Subreddit | Youtube Channel | Documentation | Contribution Guide |

Build Status

Components

graphql-common

This module controls the configuration for GraphQL service and share some static variables with other modules to make the dependencies much simpler.

graphql-router

This module provides RouteHandler and SchemaProvider interfaces and implement both GET and POST handlers for GraphQL.

Middleware Handlers:

graphql-security

This is the handler that should be put before graphql-validator. There is no need to do any validation if JWT token does not exist in the request header.

graphql-validator

Basic request validation for the graphql path and methods. It is the first line of validation right after graphql-security and it doesn't have any knowledge about the graphql query parameter and body.

Tutorial

This is a very simple Hello World query to show you how to get GraphQL up and running with light-codegen without using GraphQL IDL.

This is a similar example as Hello World with IDL to trigger the generation. It is utilize the star wars GraphQL IDL downloaded from the Internet.

This example shows you how to create a full blown GraphQL service with both query and mutation.

This is the same example like the mutation but is generated from a schema.

This is to show you how to build a GraphQL service that is working with Relayjs.