diff --git a/pom.xml b/pom.xml index 08f0d4a..51d8de1 100644 --- a/pom.xml +++ b/pom.xml @@ -13,6 +13,7 @@ 0.0.1-SNAPSHOT Onomatopoeia-back Onomatopoeia-back + @@ -43,13 +44,15 @@ org.projectlombok lombok true + 1.18.30 + org.springframework.boot spring-boot-starter-test test - + org.postgresql postgresql @@ -59,12 +62,22 @@ org.springframework.boot spring-boot-starter-jdbc - + org.springdoc springdoc-openapi-starter-webmvc-ui 2.8.4 + + + org.springframework.boot + spring-boot-starter-security + + + org.springframework.security + spring-security-test + test + @@ -77,6 +90,7 @@ org.projectlombok lombok + 1.18.30 diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 47b4b08..56eb57c 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -1,10 +1,11 @@ spring.application.name=Onomatopoeia-back -# ????????? ???? ??????? +# set the port for the server server.port=3000 -# ????????? ???????? swagger ui (????????????) +# set the route of swagger ui spring-doc.swagger-ui.path=/docs -# ????????? postgres -spring.jpa.properties.hibernate.dialect = org.hibernate.dialect.PostgreSQLDialect +# postgres set up spring.datasource.url=jdbc:postgresql://localhost:5432/postgres spring.datasource.username=postgres -spring.datasource.password=MobileDev +spring.datasource.password=1339 +spring.jpa.properties.hibernate.dialect = org.hibernate.dialect.PostgreSQLDialect +spring.jpa.hibernate.ddl-auto=update \ No newline at end of file