Skip to content

Commit

Permalink
Add H2 and security properties
Browse files Browse the repository at this point in the history
  • Loading branch information
raffaelbrandao committed Mar 6, 2024
1 parent fa4b2fd commit d6b6b42
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/main/resources/application.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Swagger Properties
demo.openapi.contact.name=Rafael Brandão
demo.openapi.contact.email=@raffaelbrandao.com
demo.openapi.contact.url=https://www.raffaelbrandao.com/
Expand All @@ -7,3 +8,15 @@ demo.openapi.info.title=Spring Boot REST API demo
demo.openapi.info.description=This is a demo Spring Boot REST API using springdoc-openapi and OpenAPI 3.
demo.openapi.info.version=1.0
demo.openapi.info.terms=/terms
# Security Properties
demo.security.prefix=Bearer
demo.security.key=SECRET_KEY
demo.security.expiration=3600000
# H2 Database Properties
spring.jpa.database-platform=org.hibernate.dialect.H2Dialect
spring.datasource.driverClassName=org.h2.Driver
spring.datasource.url=jdbc:h2:mem:testdb
spring.datasource.username=sa
spring.datasource.password=sa
spring.jpa.show-sql:true
spring.h2.console.enabled=true

0 comments on commit d6b6b42

Please sign in to comment.