AI-RESEARCHER-2024 commited on
Commit
8ecd942
·
verified ·
1 Parent(s): 974edcd

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +59 -4
README.md CHANGED
@@ -1,11 +1,66 @@
1
  ---
2
  title: Theater Database
3
- emoji: 👀
4
- colorFrom: gray
5
- colorTo: gray
6
  sdk: docker
 
7
  pinned: false
8
  license: mit
9
  ---
10
 
11
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  title: Theater Database
3
+ emoji: 🎭
4
+ colorFrom: purple
5
+ colorTo: blue
6
  sdk: docker
7
+ app_port: 7860
8
  pinned: false
9
  license: mit
10
  ---
11
 
12
+ # Theater Database Application
13
+
14
+ A Spring Boot application for managing theater data including actors, characters, shows, students, and crew members.
15
+
16
+ ## Features
17
+
18
+ - RESTful API endpoints for theater management
19
+ - Web interface with Thymeleaf templates
20
+ - H2 in-memory database for easy deployment
21
+ - MySQL support for local development
22
+
23
+ ## API Endpoints
24
+
25
+ The application provides REST controllers for:
26
+ - Actors
27
+ - Characters
28
+ - Crew members
29
+ - Shows
30
+ - Students
31
+
32
+ ## Running Locally
33
+
34
+ ### Prerequisites
35
+ - Java 21 or higher
36
+ - Maven 3.9+
37
+
38
+ ### Build and Run
39
+ ```bash
40
+ mvn clean package
41
+ java -jar target/theater_database-0.0.1-SNAPSHOT.jar
42
+ ```
43
+
44
+ The application will start on port 7860.
45
+
46
+ ## H2 Database Console
47
+
48
+ Access the H2 console at: `/h2-console`
49
+
50
+ - JDBC URL: `jdbc:h2:mem:creightontheater`
51
+ - Username: `sa`
52
+ - Password: (leave empty)
53
+
54
+ ## Deployment
55
+
56
+ This application is configured to deploy on Hugging Face Spaces using Docker.
57
+
58
+ ## Technology Stack
59
+
60
+ - Spring Boot 3.5.7
61
+ - Java 21
62
+ - H2 Database
63
+ - Thymeleaf
64
+ - Spring Data JPA
65
+ - Lombok
66
+