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
- upgrade to Java 21; - upgrade to spring-boot 3.3.6; - upgrade to spring-cloud 2023.0.3; - upgrade to springdoc-openapi 2.6.0; - upgrade to MapStruct 1.6.3; - upgrade to jib-maven-plugin 3.4.4; - upgrade to amazoncorretto-jdk 21.0.5; - upgrade wrapperVersion to 3.3.2 and apache-maven to 3.9.9; - upgrade to mysql docker image 9.0.1; - upgrade to bitnami/mongodb docker image 7.0.14; - update README.
Copy file name to clipboardExpand all lines: README.md
+9-17Lines changed: 9 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# springboot-graphql-databases
2
2
3
-
The goal of this project is to explore [`GraphQL`](https://graphql.org). For it, we will implement two [`Spring Boot`](https://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/) Web Java applications: `author-book-api` and `book-review-api`.
3
+
The goal of this project is to explore [`GraphQL`](https://graphql.org). For it, we will implement two [`Spring Boot`](https://docs.spring.io/spring-boot/index.html) Web Java applications: `author-book-api` and `book-review-api`.
4
4
5
5
> **Note**: In [`kubernetes-minikube-environment`](https://github.com/ivangfr/kubernetes-minikube-environment/tree/master/author-book-review-graphql) repository, it's shown how to deploy this project in `Kubernetes` (`Minikube`).
6
6
@@ -10,8 +10,8 @@ On [ivangfr.github.io](https://ivangfr.github.io), I have compiled my Proof-of-C
10
10
11
11
## Additional Readings
12
12
13
-
-\[**Medium**\][**Implementing and Securing a Spring Boot GraphQL API with Keycloak**](https://medium.com/javarevisited/implementing-and-securing-a-spring-boot-graphql-api-with-keycloak-c461c86e3972)
14
-
-\[**Medium**\][**Implementing and Securing a Spring Boot GraphQL API with Okta**](https://medium.com/javarevisited/implementing-and-securing-a-spring-boot-graphql-api-with-okta-78bc997359b4)
13
+
-\[**Medium**\][**Implementing and Securing a Spring Boot GraphQL API with Keycloak**](https://medium.com/@ivangfr/implementing-and-securing-a-spring-boot-graphql-api-with-keycloak-c461c86e3972)
14
+
-\[**Medium**\][**Implementing and Securing a Spring Boot GraphQL API with Okta**](https://medium.com/@ivangfr/implementing-and-securing-a-spring-boot-graphql-api-with-okta-78bc997359b4)
15
15
16
16
## Project Diagram
17
17
@@ -29,13 +29,13 @@ On [ivangfr.github.io](https://ivangfr.github.io), I have compiled my Proof-of-C
29
29
30
30
## Frontend applications
31
31
32
-
In the repository [`react-graphql-databases`](https://github.com/ivangfr/react-graphql-databases), I have implemented two [`ReactJS`](https://reactjs.org/) applications `author-book-ui` and `book-review-ui` that are frontend applications for `author-book-api` and `book-review-api`, respectively.
32
+
In the repository [`react-graphql-databases`](https://github.com/ivangfr/react-graphql-databases), I have implemented two [`ReactJS`](https://react.dev) applications `author-book-ui` and `book-review-ui` that are frontend applications for `author-book-api` and `book-review-api`, respectively.
33
33
34
34
If you want to see the complete communication frontend-backend using `GraphQL`, clone the `react-graphql-databases` and follow the README instructions.
@@ -116,7 +116,7 @@ In a terminal and inside `springboot-graphql-databases` root folder, run followi
116
116
117
117
-**book-review-api**
118
118
119
-
1. In a browser, access http://localhost:9080/graphiql;
119
+
1. In a browser, access http://localhost:9080/graphiql
120
120
121
121
2. Create a book and return its id:
122
122
```
@@ -155,7 +155,7 @@ In a terminal and inside `springboot-graphql-databases` root folder, run followi
155
155
156
156
- **author-book-api**
157
157
158
-
1. In a browser, access http://localhost:8080/graphiql;
158
+
1. In a browser, access http://localhost:8080/graphiql
159
159
160
160
2. Create an author and return the author id:
161
161
```
@@ -224,7 +224,7 @@ In a terminal and inside `springboot-graphql-databases` root folder, run followi
224
224
225
225
- **Zipkin**
226
226
227
-
It can be accessed at http://localhost:9411.
227
+
It can be accessed at http://localhost:9411
228
228
229
229
- **MySQL monitor**
230
230
```
@@ -263,16 +263,8 @@ To remove the Docker images created by this project, go to a terminal and, insid
263
263
./remove-docker-images.sh
264
264
```
265
265
266
-
## TODO
267
-
268
-
- implement test cases;
269
-
- use [`HttpGraphQlClient`](https://docs.spring.io/spring-graphql/docs/1.0.0/reference/html/#client) to call `book-review` instead of `feign` (we need to convert to project to `WebFlux`);
270
-
- study how to implement authentication/authorization to `GraphQL` endpoint;
0 commit comments