This project is a full-stack web application built using Spring Boot for the backend and HTML/CSS/JavaScript for the frontend. The application is fully containerized using Docker, with a MySQL database running in a separate container.
- Spring Boot
- MySQL
- HTML, CSS, JavaScript
- Docker & Docker Compose
- Maven
springdb-app/ ├── backend/ # Spring Boot app │ ├── src/ │ ├── pom.xml │ └── Dockerfile ├── frontend/ # HTML/CSS/JS │ ├── index.html │ └── ... ├── docker-compose.yml # Docker Compose file └── README.md
git clone https://github.com/your-username/springdb-app.git
cd springdb-appneccessary command Builds the Spring Boot backend
Starts MySQL in a container
Maps necessary ports (default: 8080 for backend, 3306 for MySQL)
docker command
Stop containers: docker-compose down
View logs: docker-compose logs -f
Rebuild: docker-compose up --build