Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Initialize project structure with core entities and configuration
Co-authored-by: ram.dafale <ram.dafale@cognizant.com>
  • Loading branch information
cursoragent and ram.dafale committed Jul 16, 2025
commit c9509f3eedc33a6c28672a88a8bc0104e0595339
36 changes: 36 additions & 0 deletions target/classes/application.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# Server Configuration
server.port=8080
server.servlet.context-path=/tennis-prediction

# H2 Database Configuration
spring.datasource.url=jdbc:h2:mem:tennisdb
spring.datasource.driverClassName=org.h2.Driver
spring.datasource.username=sa
spring.datasource.password=password
spring.jpa.database-platform=org.hibernate.dialect.H2Dialect

# H2 Console Configuration (for development)
spring.h2.console.enabled=true
spring.h2.console.path=/h2-console

# JPA/Hibernate Configuration
spring.jpa.hibernate.ddl-auto=create-drop
spring.jpa.show-sql=true
spring.jpa.properties.hibernate.format_sql=true

# Thymeleaf Configuration
spring.thymeleaf.cache=false
spring.thymeleaf.prefix=classpath:/templates/
spring.thymeleaf.suffix=.html

# Logging Configuration
logging.level.com.tennis=DEBUG
logging.level.org.springframework.web=DEBUG

# External API Configuration (for FlashScore or similar)
tennis.api.base-url=https://api.flashscore.com
tennis.api.key=your-api-key-here

# Application specific properties
tennis.prediction.model.threshold=0.6
tennis.prediction.update-interval=30000
Binary file not shown.
Binary file not shown.
Binary file added target/classes/com/tennis/entity/HeadToHead.class
Binary file not shown.
Binary file added target/classes/com/tennis/entity/Match.class
Binary file not shown.
Binary file not shown.
Binary file added target/classes/com/tennis/entity/Player.class
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading