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
+4-6Lines changed: 4 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ id: tutorial-getting-started
5
5
---
6
6
# Getting started with Spring for GraphQL
7
7
8
-
In this tutorial, you will create a GraphQL server in Java using [Spring for GraphQL](https://docs.spring.io/spring-graphql/reference/). 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.
8
+
In this tutorial, you will create a GraphQL server in Java using [Spring for GraphQL](https://docs.spring.io/spring-graphql/reference/) in 3 minutes. 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
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
11
@@ -105,11 +105,11 @@ Select:
105
105
106
106
- Gradle Project
107
107
- Spring Boot 3
108
-
- Java 17 or higher (Java 17 is the baseline version for Spring Boot 3)
108
+
- Java 17 or higher
109
109
110
110
For the project metadata, use:
111
111
112
-
- Group: `com.graphql-java.tutorial`
112
+
- Group: `com.graphqljava.tutorial`
113
113
- Artifact: `bookDetails`
114
114
115
115
For dependencies, select:
@@ -124,8 +124,6 @@ Spring for GraphQL adds many useful features including loading schema files, ini
124
124
125
125
## Schema
126
126
127
-
Create a directory `src/main/resources/graphql`.
128
-
129
127
Add a new file `schema.graphqls` to `src/main/resources/graphql` with the following content:
130
128
131
129
```graphql
@@ -294,7 +292,7 @@ With the help of Spring for GraphQL features, we were able to achieve this with
294
292
295
293
## Further reading
296
294
### Book
297
-
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.
295
+
If you want to learn more, 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 and GraphQL Java.
298
296
299
297
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/).
0 commit comments