Skip to content

networknt/light-graphql-4j

Folders and files

NameName
Last commit message
Last commit date

Latest commit

1eb7d6a · Oct 21, 2017

History

67 Commits
Oct 21, 2017
Oct 21, 2017
Oct 21, 2017
Oct 21, 2017
Oct 21, 2017
Mar 22, 2017
Mar 27, 2017
Oct 21, 2017
May 6, 2017
Mar 22, 2017
May 6, 2017
Oct 21, 2017

Repository files navigation

GraphQL framework based on light-4j

Developer Chat | 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.

Examples