Skip to content

Commit

Permalink
⏫ dependencies: 'Adicionando as dependencias do JPA para realizar a c…
Browse files Browse the repository at this point in the history
…onexão com banco de dados e adicionando o driver do PostregesSQL. Configurando tambem o arquvio application com as definições do banco de dados'
  • Loading branch information
Bruno-Camargo-V3ktor committed Sep 5, 2024
1 parent 22e9cb5 commit 741a010
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
11 changes: 11 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,17 @@
<artifactId>spring-boot-starter-web</artifactId>
</dependency>

<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-jpa</artifactId>
</dependency>

<dependency>
<groupId>org.postgresql</groupId>
<artifactId>postgresql</artifactId>
<scope>runtime</scope>
</dependency>

<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-validation</artifactId>
Expand Down
11 changes: 10 additions & 1 deletion src/main/resources/application.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
spring:
application:
name: Vacancy Management - API
name: Vacancy Management - API

datasource:
driver-class-name: org.postgresql.Driver
url: jdbc:postgresql://localhost:5432/vacancy_management
username: admin
password: admin

jpa:
open-in-view: off

0 comments on commit 741a010

Please sign in to comment.