How wiliammelo01/empoweru-api works
EmpowerU is a Spring Boot education API for account management, courses and enrollment, course content, evaluation, and certificates. The typical workflow begins with a client request, authenticates or authorizes the user where needed, and performs domain operations through API controllers and services; persistent state is stored in PostgreSQL, while video files and asynchronous tasks use external integrations. The README documents all major capabilities, but only selected controllers and services were sampled. Accordingly, some subsystem links are dashed and unverified rather than asserted as inspected call paths.
Main entry points: AuthService.java Auth Service · AuthController.java Auth API · CourseController.java Course API · CourseService.java Course Service
Components 23
Access and Identity
- Auth API
src/main/java/org/wiliammelo/empoweru/controllers/AuthController.java - Auth Service
src/main/java/org/wiliammelo/empoweru/services/AuthService.java - JWT Security
src/main/java/org/wiliammelo/empoweru/configuration/security/JWTService.java - People APIs
src/main/java/org/wiliammelo/empoweru/controllers
Learning Content
- Course API
src/main/java/org/wiliammelo/empoweru/controllers/CourseController.java - Course Service
src/main/java/org/wiliammelo/empoweru/services/CourseService.java - Section API
src/main/java/org/wiliammelo/empoweru/controllers/SectionController.java - Section Service
src/main/java/org/wiliammelo/empoweru/services/SectionService.java - Video API
src/main/java/org/wiliammelo/empoweru/controllers/VideoController.java - Video Service
src/main/java/org/wiliammelo/empoweru/services/VideoService.java
Assessment and Credentials
- Evaluation API
src/main/java/org/wiliammelo/empoweru/controllers/EvaluationActivityController.java - Evaluation Services
src/main/java/org/wiliammelo/empoweru/services - Certificate API
src/main/java/org/wiliammelo/empoweru/controllers/CertificateController.java - Certificate Service
src/main/java/org/wiliammelo/empoweru/services/CertificateService.java
Persistence and Integrations
- User Records
src/main/java/org/wiliammelo/empoweru/repositories/UserRepository.java - Course Records
src/main/java/org/wiliammelo/empoweru/repositories/CourseRepository.java - File Uploader
src/main/java/org/wiliammelo/empoweru/clients/FileUploader.java - Azure Blob
- AWS SQS
- Greetings Publisher
src/main/java/org/wiliammelo/empoweru/clients/GreetingsSQSPublisher.java - Certificate Publisher
src/main/java/org/wiliammelo/empoweru/clients/CertificateIssueSQSPublisher.java - PostgreSQL
Other components
- API Client
Connections 24
- API Client → Auth API: registers or logs in
README.md - Auth API → Auth Service: delegates
src/main/java/org/wiliammelo/empoweru/controllers/AuthController.java - Auth Service → JWT Security: creates tokens
src/main/java/org/wiliammelo/empoweru/services/AuthService.java - Auth Service → User Records: checks and reads
src/main/java/org/wiliammelo/empoweru/services/AuthService.java - Auth Service → Greetings Publisher: publishes registrations
src/main/java/org/wiliammelo/empoweru/services/AuthService.java - Greetings Publisher → AWS SQS: sends messages
- API Client → Course API: manages courses
README.md - Course API → Course Service: delegates
src/main/java/org/wiliammelo/empoweru/controllers/CourseController.java - Course Service → Course Records: queries and saves
src/main/java/org/wiliammelo/empoweru/services/CourseService.java - API Client → Section API: manages sections
README.md - Section API → Section Service: delegates
src/main/java/org/wiliammelo/empoweru/controllers/SectionController.java - API Client → Video API: manages videos
README.md - Video API → Video Service: delegates
src/main/java/org/wiliammelo/empoweru/controllers/VideoController.java - Video Service → File Uploader: uploads files
src/main/java/org/wiliammelo/empoweru/services/VideoService.java - File Uploader → Azure Blob: stores files
- API Client → People APIs: manages people
README.md - API Client → Evaluation API: submits evaluations
README.md - Evaluation API → Evaluation Services: delegates
src/main/java/org/wiliammelo/empoweru/controllers/EvaluationActivityController.java - API Client → Certificate API: requests certificates
README.md - Certificate API → Certificate Service: delegates
- Certificate Service → Certificate Publisher: requests issuance
- Certificate Publisher → AWS SQS: sends messages
- Course Records → PostgreSQL: persists records
- User Records → PostgreSQL: persists records