Microservices Architecture | Spring Boot | AWS | LocalStack | gRPC
A cloud-native, microservices-based Patient Management System built using Spring Boot, API Gateway, gRPC, and AWS services, with LocalStack for local cloud simulation.
This project demonstrates enterprise-grade backend engineering, service-to-service communication, and infrastructure-as-code, aligned with real-world healthcare platforms.
- 🧩 Microservices-based architecture
- 🌐 Centralized API Gateway
- 🔐 Authentication & Authorization Service
- 🏥 Patient Management Service
- 💳 Billing Service with gRPC communication
- 📊 Analytics Service
- ☁️ AWS services simulated using LocalStack
- 📦 Infrastructure as Code (CloudFormation)
- 🧪 Integration testing support
Client
↓
API Gateway
↓
---------------------------------
| Auth Service |
| Patient Service |
| Billing Service (gRPC) |
| Analytics Service |
---------------------------------
↓
AWS Services (LocalStack)
- RDS (PostgreSQL)
- S3
- ELB
patient-management/
├── api-gateway/ # Central API Gateway
├── auth-service/ # Authentication & authorization service
├── patient-service/ # Patient domain & medical records
├── billing-service/ # Billing & payments (gRPC-based)
├── analytics-service/ # Reporting & analytics
├── grpc-requests/
│ └── billing-service/ # gRPC proto definitions
├── api-request/ # API request samples
├── integration-test/ # End-to-end integration tests
├── infrastructure/ # AWS + LocalStack + CloudFormation
├── .gitignore
└── README.md
- Java 17
- Spring Boot
- Spring Cloud
- Spring Data JPA
- Hibernate
- REST APIs
- gRPC (inter-service communication)
- PostgreSQL
- AWS RDS (simulated via LocalStack)
- AWS (RDS, S3, ELB)
- LocalStack
- AWS CloudFormation
- Docker & Docker Compose
- Maven
- Postman
- Git & GitHub
- Central entry point for all client requests
- Routes requests to appropriate microservices
- Abstracts internal service architecture
- Authentication and authorization
- Token-based security (JWT-ready)
- Patient registration and profile management
- Medical records handling
- Billing and payment processing
- gRPC-based internal service communication
- Generates reports and analytics
- Provides insights into patient and billing data
- Java 17+
- Maven
- Docker & Docker Compose
- AWS CLI
docker compose up -d