Skip to content

Commit 4649380

Browse files
committed
cria arquivos '.properties' (application e application-test) do projeto
1 parent b5e2ff3 commit 4649380

2 files changed

Lines changed: 15 additions & 0 deletions

File tree

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# H2 Connection
2+
spring.datasource.url=jdbc:h2:mem:testdb
3+
spring.datasource.username=sa
4+
spring.datasource.password=
5+
6+
# H2 Client
7+
spring.h2.console.enabled=true
8+
spring.h2.console.path=/h2-console
9+
10+
# Show SQL
11+
spring.jpa.show-sql=true
12+
spring.jpa.properties.hibernate.format_sql=true
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
1+
spring.profiles.active=${APP_PROFILE:test}
2+
spring.jpa.open-in-view=false
13

4+
cors.origins=${CORS_ORIGINS:http://localhost:5173,http://localhost:3000}

0 commit comments

Comments
 (0)