diff --git a/pom.xml b/pom.xml index 881d45a..111fb28 100644 --- a/pom.xml +++ b/pom.xml @@ -28,6 +28,8 @@ 21 + 1.18.34 + 3.13.0 @@ -46,13 +48,12 @@ org.springframework.boot spring-boot-starter-web - - - org.springframework.boot - spring-boot-devtools - runtime - true - + + + + + + org.postgresql postgresql @@ -66,6 +67,7 @@ org.projectlombok lombok + true @@ -78,6 +80,25 @@ spring-security-test test + + + + io.jsonwebtoken + jjwt-api + 0.11.5 + + + io.jsonwebtoken + jjwt-impl + 0.11.5 + runtime + + + io.jsonwebtoken + jjwt-jackson + 0.11.5 + runtime + diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 3f2f9df..017be0c 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -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