chore: config tweaks

This commit is contained in:
gfxv 2025-03-12 18:58:53 +03:00
parent c1a35325d6
commit f1cb78339e
2 changed files with 34 additions and 8 deletions

35
pom.xml
View File

@ -28,6 +28,8 @@
</scm>
<properties>
<java.version>21</java.version>
<lombok.version>1.18.34</lombok.version> <!-- Latest version as of March 2025 -->
<maven-compiler-plugin.version>3.13.0</maven-compiler-plugin.version>
</properties>
<dependencies>
<dependency>
@ -46,13 +48,12 @@
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-devtools</artifactId>
<scope>runtime</scope>
<optional>true</optional>
</dependency>
<!-- <dependency>-->
<!-- <groupId>org.springframework.boot</groupId>-->
<!-- <artifactId>spring-boot-devtools</artifactId>-->
<!-- <scope>runtime</scope>-->
<!-- <optional>true</optional>-->
<!-- </dependency>-->
<dependency>
<groupId>org.postgresql</groupId>
<artifactId>postgresql</artifactId>
@ -66,6 +67,7 @@
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<!-- <version>1.18.34</version>-->
<optional>true</optional>
</dependency>
<dependency>
@ -78,6 +80,25 @@
<artifactId>spring-security-test</artifactId>
<scope>test</scope>
</dependency>
<!-- JWT Dependencies -->
<dependency>
<groupId>io.jsonwebtoken</groupId>
<artifactId>jjwt-api</artifactId>
<version>0.11.5</version>
</dependency>
<dependency>
<groupId>io.jsonwebtoken</groupId>
<artifactId>jjwt-impl</artifactId>
<version>0.11.5</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>io.jsonwebtoken</groupId>
<artifactId>jjwt-jackson</artifactId>
<version>0.11.5</version>
<scope>runtime</scope>
</dependency>
</dependencies>
<build>

View File

@ -1,7 +1,12 @@
spring.application.name=blps
spring.datasource.url=jdbc:postgresql://127.0.0.1:5432/youtube?stringtype=unspecified
spring.datasource.username=admin
spring.datasource.password=password
spring.jpa.hibernate.ddl-auto=update
spring.jpa.show-sql=true
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect
# 100 days
jwt.expiration=8640000000
jwt.secret=sosal
jwt.secret=rashuyar_menya_metalolomom_umolyau-ihFpH2GtiE3Wc4JJEW94mPEBFexnPWWwScVi9Aym