Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
ajaynegi45 committed Oct 2, 2024
1 parent c3e3433 commit 973b444
Showing 1 changed file with 26 additions and 5 deletions.
31 changes: 26 additions & 5 deletions src/main/resources/application-development.properties
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,38 @@
spring.datasource.url=jdbc:mysql://localhost:3306/Add_Your_Database_Name

## Add your Database Username and Password
spring.datasource.username= Add_Your_UserName
spring.datasource.password= Add_Your_Password
spring.datasource.username=Add_Your_UserName
spring.datasource.password=Add_Your_Password

spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
# Hibernate Dialect for MySQL 8
spring.jpa.database-platform=org.hibernate.dialect.MySQLDialect

# Prevent early database interaction
spring.jpa.properties.hibernate.boot.allow_jdbc_metadata_access=false
spring.jpa.hibernate.ddl-auto=update
spring.jpa.properties.hibernate.format_sql=true
spring.sql.init.mode=never

# Format SQL
spring.jpa.properties.hibernate.format_sql=true

# Error Handling
server.error.include-binding-errors=always
server.error.include-message=always
server.error.include-stacktrace=never
server.error.include-exception=true

logging.level.org.springframework.security = TRACE
# Logging for Spring Security
logging.level.org.springframework.security=TRACE



# --- Mail Service Setup ---

# I use docker mail service https://hub.docker.com/r/maildev/maildev
spring.mail.host=Add_Your_Mail_Service_Host
spring.mail.port=Add_Your_Mail_Service_Port
spring.mail.username=Add_Your_Mail_Service_Username
spring.mail.password=Add_Your_Mail_Service_Password
spring.mail.properties.mail.smtp.auth=Add_Your_Mail_Service_SMTP
spring.mail.properties.mail.starttls.enable=Add_Your_Mail_Service_Start_TLS
spring.mail.properties.domain_name=Add_Your_Mail_Service_Domain_Name

0 comments on commit 973b444

Please sign in to comment.