Add 'backend/' from commit '51bf07d5e16469036a8363e6b9d53616cbed643f'

git-subtree-dir: backend
git-subtree-mainline: 6dc2b48035ed90480e499efdb4513dff7b566616
git-subtree-split: 51bf07d5e1
This commit is contained in:
2026-03-18 19:23:20 -06:00
174 changed files with 19431 additions and 0 deletions

View File

@@ -0,0 +1,56 @@
spring:
application:
name: petshop-backend
servlet:
multipart:
enabled: true
max-file-size: 5MB
max-request-size: 5MB
datasource:
url: ${SPRING_DATASOURCE_URL:jdbc:mysql://localhost:3306/Petstoredb?useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=UTC}
username: ${SPRING_DATASOURCE_USERNAME:petshop}
password: ${SPRING_DATASOURCE_PASSWORD:petshop}
driver-class-name: com.mysql.cj.jdbc.Driver
sql:
init:
mode: never
jpa:
hibernate:
ddl-auto: validate
naming:
physical-strategy: org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl
show-sql: ${JPA_SHOW_SQL:false}
properties:
hibernate:
format_sql: true
open-in-view: false
flyway:
enabled: true
baseline-on-migrate: true
baseline-version: 0
server:
port: ${SERVER_PORT:8080}
servlet:
context-path: /
springdoc:
api-docs:
path: /v3/api-docs
swagger-ui:
path: /swagger-ui
jwt:
secret: ${JWT_SECRET:change_me_please_make_this_at_least_32_characters_long_for_security}
expiration: ${JWT_EXPIRATION:86400000}
logging:
level:
com.petshop: ${LOG_LEVEL:INFO}
org.springframework.security: ${LOG_LEVEL_SECURITY:WARN}
org.springdoc.core.events.SpringDocAppInitializer: ERROR