Skip to content

Commit f5f95a3

Browse files
committed
Add book links to tutorial
1 parent 89a071b commit f5f95a3

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

src/pages/tutorials/getting-started-with-spring-boot.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ id: tutorial-getting-started
77

88
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.
99

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. 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+
1012
## A very short introduction to GraphQL
1113

1214
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 {
145147
}
146148
```
147149

148-
This schema defines one top level field (in the type `Query`): `bookById` which returns the details of a specific book.
150+
This schema defines one top level field (in the type `Query`): `bookById` which returns the details of a specific book.
149151

150152
It also defines the type `Book` which has the fields: `id`, `name`, `pageCount` and `author`.
151153
`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!
301303
With the help of Spring for GraphQL features, we were able to achieve this with only a few lines of code.
302304

303305
## 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.
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+
304311
### Sample source code
305312
The source code for this tutorial can be found on [GitHub](https://github.com/graphql-java/tutorials).
306313

0 commit comments

Comments
 (0)