How ali-ragab214/skill-hub-learning-platform works
SkillHub is a REST backend for students, instructors, and admins. The main workflow is authenticated or public API requests handled by context-specific services for course discovery and authoring, enrollment, lesson progress, and reviews, with user administration as a separate capability. The README documents a layered architecture, JWT role-based access, Redis caching, and PostgreSQL persistence. No source excerpts were provided, so edges below rely on README-level evidence rather than sampled call sites.
Main entry points: controller REST controllers · repository JPA repositories · course Courses · models Domain entities
Components 15
API
- REST controllers
src/main/java/com/example/Skill_Hub_Learning_Platform/api/controller
Learning contexts
- Authentication
src/main/java/com/example/Skill_Hub_Learning_Platform/application/services/auth - Courses
src/main/java/com/example/Skill_Hub_Learning_Platform/application/services/course - Sections and lessons
src/main/java/com/example/Skill_Hub_Learning_Platform/application/services/section - Enrollments
src/main/java/com/example/Skill_Hub_Learning_Platform/application/services/enrollment - Lesson progress
src/main/java/com/example/Skill_Hub_Learning_Platform/application/services/progress - Reviews
src/main/java/com/example/Skill_Hub_Learning_Platform/application/services/review - User administration
src/main/java/com/example/Skill_Hub_Learning_Platform/application/services/user
Platform services
- JWT and RBAC
src/main/java/com/example/Skill_Hub_Learning_Platform/infrastructure/security - Redis caching
src/main/java/com/example/Skill_Hub_Learning_Platform/infrastructure/config/RedisConfig.java - Domain entities
src/main/java/com/example/Skill_Hub_Learning_Platform/domain/models
Persistence
- JPA repositories
src/main/java/com/example/Skill_Hub_Learning_Platform/infrastructure/repository - PostgreSQL
- Redis
Other components
- Students, instructors, admins
Connections 21
- Students, instructors, admins → REST controllers: submit requests
README.md - REST controllers → Authentication: routes to
README.md - REST controllers → Courses: routes to
README.md - REST controllers → Sections and lessons: routes to
README.md - REST controllers → Enrollments: routes to
README.md - REST controllers → Lesson progress: routes to
README.md - REST controllers → Reviews: routes to
README.md - REST controllers → User administration: routes to
README.md - REST controllers → JWT and RBAC: enforces RBAC
README.md - Courses → Domain entities: uses domain layer
README.md - Enrollments → Domain entities: uses domain layer
README.md - Lesson progress → Domain entities: uses domain layer
README.md - Reviews → Domain entities: uses domain layer
README.md - Courses → JPA repositories: persists through
README.md - Enrollments → JPA repositories: persists through
README.md - Lesson progress → JPA repositories: persists through
README.md - Reviews → JPA repositories: persists through
README.md - JPA repositories → PostgreSQL: stores data
README.md - Courses → Redis caching: uses declarative cache
README.md - Redis caching → Redis: stores cache
README.md - Authentication → JWT and RBAC: issues JWTs
README.md