Last active
June 28, 2017 17:26
-
-
Save schroedermatt/69ea38954c659ac3862f202f6ae849c0 to your computer and use it in GitHub Desktop.
General project structure for GraphQL in a Spring Boot app
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
graphql | |
|---- controller - exposes /v1/graphql POST endpoint | |
|---- executor - picks apart the request and executes the query against the schema | |
|---- schema - builds up the schema and provides it to the executor | |
|---- datafetcher - wraps calls to the database, external APIs, etc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment