Spaces:
Sleeping
Sleeping
metadata
title: Theater Database
emoji: 🎭
colorFrom: purple
colorTo: blue
sdk: docker
app_port: 7860
pinned: false
license: mit
Theater Database Application
A Spring Boot application for managing theater data including actors, characters, shows, students, and crew members.
Features
- RESTful API endpoints for theater management
- Web interface with Thymeleaf templates
- H2 in-memory database for easy deployment
- MySQL support for local development
API Endpoints
The application provides REST controllers for:
- Actors
- Characters
- Crew members
- Shows
- Students
Running Locally
Prerequisites
- Java 21 or higher
- Maven 3.9+
Build and Run
mvn clean package
java -jar target/theater_database-0.0.1-SNAPSHOT.jar
The application will start on port 7860.
H2 Database Console
Access the H2 console at: /h2-console
- JDBC URL:
jdbc:h2:mem:creightontheater - Username:
sa - Password: (leave empty)
Deployment
This application is configured to deploy on Hugging Face Spaces using Docker.
Technology Stack
- Spring Boot 3.5.7
- Java 21
- H2 Database
- Thymeleaf
- Spring Data JPA
- Lombok