You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/pages/tutorials/getting-started-with-spring-boot.md
+8-1Lines changed: 8 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,8 @@ id: tutorial-getting-started
7
7
8
8
In this tutorial, you will create a GraphQL server in Java using [Spring for GraphQL](https://docs.spring.io/spring-graphql/docs/current/reference/html/). It requires a little Spring and Java knowledge. While we give a brief introduction to GraphQL, the focus of this tutorial is developing a GraphQL server in Java.
9
9
10
+
If you're looking to learn more after this tutorial, we (the maintainers) have written a book! [**GraphQL with Java and Spring**](https://leanpub.com/graphql-java) includes everything you need to know to build a production ready GraphQL service with Spring for GraphQL, the official Spring integration built on top of the GraphQL Java engine. It's available on [Leanpub](https://leanpub.com/graphql-java) and [Amazon](https://www.amazon.com/GraphQL-Java-Spring-Andreas-Marek-ebook/dp/B0C96ZYWPF/).
11
+
10
12
## A very short introduction to GraphQL
11
13
12
14
GraphQL is a query language to retrieve data from a server. It is an alternative to REST, SOAP or gRPC.
@@ -145,7 +147,7 @@ type Author {
145
147
}
146
148
```
147
149
148
-
Thisschema defines one top level field (in the type `Query`): `bookById` which returns the details of a specific book.
150
+
Thisschema defines one top level field (in the type `Query`): `bookById` which returns the details of a specific book.
149
151
150
152
It also defines the type `Book` which has the fields: `id`, `name`, `pageCount` and `author`.
151
153
`author` is of type `Author`, which is defined after `Book`.
@@ -301,6 +303,11 @@ We have built a GraphQL server and run our first query!
301
303
With the help of Spring for GraphQL features, we were able to achieve this with only a few lines of code.
302
304
303
305
## Further reading
306
+
### Book
307
+
If you want to learn more, we have written a book! [**GraphQL with Java and Spring**](https://leanpub.com/graphql-java) includes everything you need to know to build a production ready GraphQL service with Spring for GraphQL and GraphQL Java.
308
+
309
+
Learn first-hand from the founder of GraphQL Java and co-author of Spring for GraphQL. The book is suitable for beginners and also includes advanced topics for intermediate readers. The book is available on [Leanpub](https://leanpub.com/graphql-java) and [Amazon](https://www.amazon.com/GraphQL-Java-Spring-Andreas-Marek-ebook/dp/B0C96ZYWPF/).
310
+
304
311
### Sample source code
305
312
The source code for this tutorial can be found on [GitHub](https://github.com/graphql-java/tutorials).
0 commit comments