We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0dba5dc commit b82b741Copy full SHA for b82b741
spring-boot-integration/README.md
@@ -0,0 +1,27 @@
1
+# GraphQL Java spring boot integration
2
+
3
+A very simple example of how to integrate GraphQL Java with Spring boot.
4
5
+ To build the example code in this repository type:
6
7
+```
8
+./gradlew build
9
+ ```
10
11
+To run the example code type:
12
13
14
+./gradlew bootRun
15
16
17
+To access the example application, point your browser at:
18
+ http://localhost:8080/
19
20
+# Code Explanation
21
22
+The actual Spring MVC Controller is `GraphQLController` which accepts GET and POST requests on `/graphql`.
23
24
+It uses the `GraphQL` instance provided by `GraphQLProvider`.
25
26
+The actual data is retrieved by the DataFetchers in `GraphQLDataFetchers`.
27
0 commit comments