diff --git a/pom.xml b/pom.xml index 89b3c90ebddc9564aa7395a80f8077ffe3075fb6..6a80476e8f89ac6da77ea6c72396c6c37175d730 100644 --- a/pom.xml +++ b/pom.xml @@ -41,6 +41,23 @@ <artifactId>reactor-test</artifactId> <scope>test</scope> </dependency> + <dependency> + <groupId>org.springframework.boot</groupId> + <artifactId>spring-boot-devtools</artifactId> + <scope>runtime</scope> + <optional>true</optional> + </dependency> + <dependency> + <groupId>io.r2dbc</groupId> + <artifactId>r2dbc-postgresql</artifactId> + <version>0.8.11.RELEASE</version> + <scope>runtime</scope> + </dependency> + <dependency> + <groupId>org.postgresql</groupId> + <artifactId>postgresql</artifactId> + <scope>runtime</scope> + </dependency> </dependencies> <build> diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index fb82c19274b89dd375b4b477df042085d423fcbb..0ff18db09fde9cb48eef18660c7f26f79dbebd45 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -1 +1,6 @@ -server.port = +server.port = 5298 +spring.r2dbc.url = r2dbc:postgresql://localhost:5432/userDb +spring.r2dbc.url.username = postgres +spring.r2dbc.url.password = root +springdoc.swagger-ui.path = /swagger-ui.html +