A containerized backend application built with Spring Boot, MySQL, and Docker, designed to demonstrate scalable, production-ready service development using RESTful APIs and structured inter-database communication via gRPC.
- RESTful API built using Spring Boot
- Integrated MySQL database for persistent storage
- Docker container for consistent deployment environments
- gRPC integration to enable efficient and structured inter-database or inter-service communication
- Modular architecture for easy extension or migration
Component | Technology |
---|---|
Backend | Spring Boot (Java) |
Database | MySQL |
Containerization | Docker |
Communication | RESTful, gRPC |
Build Tool | Maven |
- Docker
- JDK 17+
- Maven
- Clone the repository
git clone https://github.com/adityapatel1010/SpringDockerDB.git
cd SpringDockerDB
- Build and start services
docker-compose up --build
- Access API at:
http://localhost:8080/api/
-
Create a local MySQL database
-
Update your
application.properties
with local DB credentials -
Run the app
mvn spring-boot:run
- gRPC used for high-performance, strongly-typed communication between services or databases
- Useful in distributed systems and microservice architecture for schema enforcement
- Backend development with Spring Boot
- API design and versioning with REST
- Database integration with MySQL
- Docker-based service orchestration
- Introduction to gRPC for inter-service communication