How abhinavgupta-de/microservices-quiz-app works
Main Components Identification
The system consists of three primary microservices with distinct responsibilities:
• Service Registry (Eureka Server)
• Question Service
• Quiz Service
a. Service Registration Flow:
b. Service Discovery Flow:
c. API Calls Flow:
Additional Elements
b. Technical Stack Annotations:
• Spring Boot
• Spring Data JPA
• PostgreSQL
• Eureka
• Feign Client
Specific Details
For Each Service:
• Exposed REST endpoints
• Internal component structure (Controller → Service → Repository)
• Database schema representation
• Exception handling flow
• DTOs used for data transfer
Architecture Patterns to Highlight
• Microservices architecture
• Service discovery pattern
• Database per service pattern
• REST communication
• DTO pattern
• Repository pattern
• Exception handling pattern
Deployment Aspects
A section showing:
• Docker containers (reference docker-compose.yml)
• Network configuration
• Service ports
• Database connections