Skip to content

Commit c9509f3

Browse files
cursoragentram.dafale
andcommitted
Initialize project structure with core entities and configuration
Co-authored-by: ram.dafale <ram.dafale@cognizant.com>
1 parent d304fd8 commit c9509f3

File tree

16 files changed

+495
-0
lines changed

16 files changed

+495
-0
lines changed
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# Server Configuration
2+
server.port=8080
3+
server.servlet.context-path=/tennis-prediction
4+
5+
# H2 Database Configuration
6+
spring.datasource.url=jdbc:h2:mem:tennisdb
7+
spring.datasource.driverClassName=org.h2.Driver
8+
spring.datasource.username=sa
9+
spring.datasource.password=password
10+
spring.jpa.database-platform=org.hibernate.dialect.H2Dialect
11+
12+
# H2 Console Configuration (for development)
13+
spring.h2.console.enabled=true
14+
spring.h2.console.path=/h2-console
15+
16+
# JPA/Hibernate Configuration
17+
spring.jpa.hibernate.ddl-auto=create-drop
18+
spring.jpa.show-sql=true
19+
spring.jpa.properties.hibernate.format_sql=true
20+
21+
# Thymeleaf Configuration
22+
spring.thymeleaf.cache=false
23+
spring.thymeleaf.prefix=classpath:/templates/
24+
spring.thymeleaf.suffix=.html
25+
26+
# Logging Configuration
27+
logging.level.com.tennis=DEBUG
28+
logging.level.org.springframework.web=DEBUG
29+
30+
# External API Configuration (for FlashScore or similar)
31+
tennis.api.base-url=https://api.flashscore.com
32+
tennis.api.key=your-api-key-here
33+
34+
# Application specific properties
35+
tennis.prediction.model.threshold=0.6
36+
tennis.prediction.update-interval=30000
1.19 KB
Binary file not shown.
Binary file not shown.
13.8 KB
Binary file not shown.
27.3 KB
Binary file not shown.
14.3 KB
Binary file not shown.
21.1 KB
Binary file not shown.
3.59 KB
Binary file not shown.
Binary file not shown.
3.19 KB
Binary file not shown.

0 commit comments

Comments
 (0)