How egorvasilev1/iot-cloud works
Main Components Identification
The system consists of several key microservices and components:
a. Core Services:
• API Gateway (Spring Cloud Gateway)
• Auth Service (Quarkus-based)
• Eureka Server (Service Discovery)
• Redis (for caching)
b. Supporting Infrastructure:
• PostgreSQL Database (for Auth Service)
• Docker containers
• GitHub Actions CI/CD pipeline
Component Relationships
Client → API Gateway → Services
• ↕
• Eureka Server
• ↕
• Auth Service ← → Database
• ↕
• Email Service
Specific Flow Representations
a. Authentication Flow:
Client → API Gateway → Auth Service → Email Service
• ↓
• Redis Cache
b. Device Verification Flow:
Client → API Gateway → Auth Service → Device Hash Verification
Additional Details
• Service ports and communication protocols
• Security boundaries
• Cache interaction points
• Service discovery connections
• Database relationships
Technical Specifications to Note
• Java-based microservices
• Gradle build system
• Docker containerization
• Spring Cloud & Quarkus frameworks
• JWT-based authentication
• Email-based verification