Skip to content

Commit a978373

Browse files
author
Ivan Franchin
committed
Project upgrade
- upgrade to spring-boot 3.4.0; - upgrade to springdoc-openapi 2.7.0; - upgrade to postgres docker image 17.2; - upgrade to apache-maven 3.9.9; - upgrade some npm packages; - remove unnecessary annotation in WebSecurityConfig; - update README.
1 parent d04569f commit a978373

File tree

9 files changed

+76
-52
lines changed

9 files changed

+76
-52
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ On [ivangfr.github.io](https://ivangfr.github.io), I have compiled my Proof-of-C
88

99
## Additional Readings
1010

11-
- \[**Medium**\] [**Implementing A Full Stack Web App Using Spring-Boot and React**](https://medium.com/javarevisited/implementing-a-full-stack-web-app-using-spring-boot-and-react-7db598df4452)
11+
- \[**Medium**\] [**Implementing A Full Stack Web App Using Spring-Boot and React**](https://medium.com/@ivangfr/implementing-a-full-stack-web-app-using-spring-boot-and-react-7db598df4452)
1212
- \[**Medium**\] [**Implementing Social Login in a Spring Boot and React App**](https://medium.com/@ivangfr/implementing-social-login-in-a-spring-boot-and-react-app-6ce073c9983c)
1313
- \[**Medium**\] [**Building a Web Chat with Social Login using Spring Boot: Introduction**](https://medium.com/@ivangfr/building-a-web-chat-with-social-login-using-spring-boot-introduction-644702e6be8e)
1414
- \[**Medium**\] [**Building a Single Spring Boot App with Keycloak or Okta as IdP: Introduction**](https://medium.com/@ivangfr/building-a-single-spring-boot-app-with-keycloak-or-okta-as-idp-introduction-2814a4829aed)
@@ -55,14 +55,14 @@ On [ivangfr.github.io](https://ivangfr.github.io), I have compiled my Proof-of-C
5555

5656
- [`npm`](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm)
5757
- [`Java 21+`](https://www.oracle.com/java/technologies/downloads/#java21)
58-
- [`Docker`](https://www.docker.com/)
58+
- Some containerization tool [`Docker`](https://www.docker.com/), [`Podman`](https://podman.io/), etc.
5959
- [`jq`](https://jqlang.github.io/jq/)
6060

6161
## Start Environment
6262

6363
- In a terminal, make sure you are inside `springboot-react-jwt-token` root folder;
6464

65-
- Run the following command to start docker compose services:
65+
- Run the following command to start docker compose containers:
6666
```
6767
docker compose up -d
6868
```

docker-compose.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
services:
22

33
postgres:
4-
image: postgres:17.0
4+
image: postgres:17.2
55
container_name: postgres
66
ports:
77
- "5432:5432"

order-api/.mvn/wrapper/maven-wrapper.properties

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# "License"); you may not use this file except in compliance
77
# with the License. You may obtain a copy of the License at
88
#
9-
# https://www.apache.org/licenses/LICENSE-2.0
9+
# http://www.apache.org/licenses/LICENSE-2.0
1010
#
1111
# Unless required by applicable law or agreed to in writing,
1212
# software distributed under the License is distributed on an
@@ -16,4 +16,4 @@
1616
# under the License.
1717
wrapperVersion=3.3.2
1818
distributionType=only-script
19-
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.7/apache-maven-3.9.7-bin.zip
19+
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.9/apache-maven-3.9.9-bin.zip

order-api/mvnw

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
# "License"); you may not use this file except in compliance
99
# with the License. You may obtain a copy of the License at
1010
#
11-
# https://www.apache.org/licenses/LICENSE-2.0
11+
# http://www.apache.org/licenses/LICENSE-2.0
1212
#
1313
# Unless required by applicable law or agreed to in writing,
1414
# software distributed under the License is distributed on an

order-api/mvnw.cmd

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
@REM "License"); you may not use this file except in compliance
99
@REM with the License. You may obtain a copy of the License at
1010
@REM
11-
@REM https://www.apache.org/licenses/LICENSE-2.0
11+
@REM http://www.apache.org/licenses/LICENSE-2.0
1212
@REM
1313
@REM Unless required by applicable law or agreed to in writing,
1414
@REM software distributed under the License is distributed on an

order-api/pom.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<parent>
55
<groupId>org.springframework.boot</groupId>
66
<artifactId>spring-boot-starter-parent</artifactId>
7-
<version>3.3.4</version>
7+
<version>3.4.0</version>
88
<relativePath /> <!-- lookup parent from repository -->
99
</parent>
1010

@@ -17,7 +17,7 @@
1717
<properties>
1818
<java.version>21</java.version>
1919
<jjwt.version>0.12.6</jjwt.version>
20-
<springdoc-openapi.version>2.6.0</springdoc-openapi.version>
20+
<springdoc-openapi.version>2.7.0</springdoc-openapi.version>
2121
</properties>
2222

2323
<dependencies>

order-api/src/main/java/com/ivanfranchin/orderapi/security/WebSecurityConfig.java

-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
import org.springframework.security.config.Customizer;
1010
import org.springframework.security.config.annotation.authentication.configuration.AuthenticationConfiguration;
1111
import org.springframework.security.config.annotation.web.builders.HttpSecurity;
12-
import org.springframework.security.config.annotation.web.configuration.EnableWebSecurity;
1312
import org.springframework.security.config.annotation.web.configurers.AbstractHttpConfigurer;
1413
import org.springframework.security.config.http.SessionCreationPolicy;
1514
import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;
@@ -20,7 +19,6 @@
2019

2120
@RequiredArgsConstructor
2221
@Configuration
23-
@EnableWebSecurity
2422
public class WebSecurityConfig {
2523

2624
private final TokenAuthenticationFilter tokenAuthenticationFilter;

order-ui/package-lock.json

+62-36
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

order-ui/package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@
33
"version": "0.1.0",
44
"private": true,
55
"dependencies": {
6-
"@testing-library/jest-dom": "^6.5.0",
6+
"@testing-library/jest-dom": "^6.6.3",
77
"@testing-library/react": "^16.0.1",
88
"@testing-library/user-event": "^14.5.2",
99
"react": "^18.3.1",
1010
"react-dom": "^18.3.1",
1111
"react-scripts": "5.0.1",
12-
"web-vitals": "^4.2.3",
13-
"axios": "^1.7.7",
14-
"react-router-dom": "^6.26.2",
12+
"web-vitals": "^4.2.4",
13+
"axios": "^1.7.8",
14+
"react-router-dom": "^7.0.1",
1515
"semantic-ui-react": "^2.1.5"
1616
},
1717
"scripts": {

0 commit comments

Comments
 (0)