How suresh-dev143/ceekulacademy works
1. This repository is a two-part system: an Angular 21 client at the root and a separate NestJS backend in ceekul-orchestrator/. The client is the primary application shell; the Nest app provides orchestration-style APIs and domain services that the frontend consumes.
2. The Angular app is organized as a route-driven product with many feature pages rather than a single narrow workflow. Major user areas include landing, home, personal, student, teacher, partner, advisor, director, admin, workshops, research, content-view, and dashboards. This makes the route map the main structural boundary of the frontend.
3. The UI is assembled from reusable feature components under src/app/components/. These include navigation and layout shells, panels, overlays, chat widgets, adaptive renderers, course/workshop cards, profile editors, and role-specific subcomponents. Most pages appear to be compositions of these smaller blocks rather than self-contained screens.
4. A large service layer in src/app/services/ is the main client-side integration boundary. Services encapsulate domain logic for auth, profile, courses, workshops, content, search, scheduling, payments, news, donations, media upload, AI/Claude, chat, orchestration, and role-specific workflows. Pages and components depend on these services instead of talking directly to low-level APIs.
5. Cross-cutting client infrastructure is handled by interceptors and core utilities. The app has interceptors for auth, error handling, offline queueing, device profile, semantic caching, and semantic delta propagation. Core services such as toast, validation, location, and infrastructure act as shared platform services used across feature areas.
6. The application is built for a persistent, mobile-friendly experience. It includes SSR entry points (main.server.ts, server.ts, app server config), PWA assets (ngsw-config.json, web manifest), and an offline-indicator. This suggests the client is expected to work across fluctuating connectivity and benefit from server rendering plus caching.
7. A notable subsystem is the content/adaptive experience: adaptive content renderer components, semantic panels, content evolution panels, live editor, research mode, and AI tools. These pieces imply a pipeline where content is rendered, modified, evolved, and cached semantically, rather than treated as static pages.
8. Realtime and collaboration features are first-class. The frontend includes chat panels, discussion/live chat, orchestration overlays, screen-sync, semantic CRDT workspace services, and integrations around Agora/Socket-style communication. The data flow here is likely event-driven: user actions update local state, sync over sockets/realtime services, and feed collaborative views.
9. Media handling is its own subsystem. There are dedicated upload components and services for audio, document, image, and video assets, plus a generalized media-upload module. These uploads likely feed content creation, profile management, workshops, and any adaptive content or creator tooling.
10. The frontend is strongly role-oriented. Student, teacher, partner, volunteer, director, and admin all have dedicated dashboards and management pages. That role split is important for the architecture diagram because it means shared platform services are reused across distinct authorization and capability boundaries.
11. ceekul-orchestrator/ is the backend orchestration service. Its Nest modules are split by domain: demand, neurons, evolution, collaboration, and orchestration. Controllers and services in this layer suggest it coordinates matching, scoring, or recommendation-style workflows rather than serving as a generic CRUD API only.
12. The orchestrator backend also contains an ad-matcher.service, indicating some decisioning or pairing logic. Combined with demand.prompt.ts and the neuron/evolution modules, the backend appears to support AI- or rules-assisted routing of requests, recommendations, or assignments for the client’s higher-level workflows.
13. End-to-end data flow is therefore: route/page selection in Angular, page composition from reusable components, service calls through interceptors, then backend orchestration or external providers such as chat, AI, payments, and media services. The architecture is best diagrammed as a layered client platform with a separate coordination backend and multiple external integration edges.
14. The repo also contains legacy/backed-up artifacts (.backup, register copy, .bak files), which suggests active experimentation and iterative refactoring. Those files are not part of the primary runtime path, but they signal that some flows may have evolved over time and are worth ignoring in the diagram unless you are documenting history.
Main entry points: orchestrator.service.ts Client services · app.module.ts Orchestrator app · home.ts Feature pages · orchestration.service.ts Orchestration
Components 23
Angular client
Root Angular 21 application shell and feature areas
- App shell · Bootstraps the client, app config, SSR entrypoints, and global route composition
src/app/app.ts - Route map · Primary structural boundary for the frontend's page-driven architecture
src/app/app.routes.ts - Layouts · Shared shells for landing, personal, admin, and app-wide layout composition
src/app/components/layout/layout.ts - Feature pages · Major user areas including home, personal, student, teacher, partner, advisor, director, admin, workshops, research, content-view, and dashboards
src/app/pages/home/home.ts - Role dashboards · Dedicated role-specific surfaces for student, teacher, partner, advisor, director, manager, volunteer, and admin workflows
src/app/pages/student-dashboard/student-dashboard.ts - Adaptive content · Content rendering, semantic panels, live editor, research mode, and evolution-oriented UI
src/app/components/adaptive-content-renderer/adaptive-content-renderer.ts - Realtime collab · Chat, discussion, overlays, screen sync, and collaborative workspace services
src/app/components/chat-panel/chat-panel.ts - Media layer · Audio, document, image, and video upload components and services
src/app/components/media-upload/media-upload.component.ts - Workshops · Workshop discovery, enrollment, live room, cards, and teacher workshop management
src/app/pages/workshops/workshops.ts - Profile & personal · Profile editing, personal hub pages, schedules, library, activity, welfare, and self-management views
src/app/pages/personal/personal-page/personal.ts - Client services · Main client-side integration boundary for auth, profile, courses, content, search, scheduling, payments, news, and workflow services
src/app/services/orchestrator.service.ts - Client infra · Interceptors, toast, validation, location, offline queue, semantic cache, and device context plumbing
src/app/core/interceptors/auth.interceptor.ts - PWA + SSR · Server rendering, service worker config, manifest, and offline-friendly delivery support
src/main.server.ts
Nest backend
Separate orchestration API service in ceekul-orchestrator/
- Orchestrator app · NestJS backend bootstrap and module root for coordination APIs
ceekul-orchestrator/src/app.module.ts - Demand · Demand prompts and request-shaping service for routing and classification
ceekul-orchestrator/src/demand/demand.service.ts - Neurons · Neuron domain controller/service/types for scoring or stateful decision logic
ceekul-orchestrator/src/neurons/neuron.service.ts - Evolution · Evolution service for iterative refinement or transformation workflows
ceekul-orchestrator/src/evolution/evolution.service.ts - Orchestration · Backend controller/service plus ad-matcher logic that coordinates assignments and workflow decisions
ceekul-orchestrator/src/orchestration/orchestration.service.ts - Collaboration · Backend collaboration module supporting shared or interactive workflows
ceekul-orchestrator/src/collaboration/collaboration.module.ts
External services
Third-party runtime and integration providers
- AI provider · Claude/AI services used by client-side assistants, content tools, and adaptive features
- Realtime provider · Chat and realtime communication backends such as Socket-style and Agora-style integrations
- Payments · Payment and donation providers consumed by client services
- Media hosting · External storage or delivery targets for uploaded audio, documents, images, and video
Connections 28
- App shell → Route map: bootstraps · The app shell loads the route tree and feature entrypoints
- Route map → Layouts: wraps · Routes compose shared shells and navigation layouts
- Route map → Feature pages: dispatches · Route segments map to the main product pages
- Route map → Role dashboards: specializes · Role-aware routes branch into dedicated dashboards and management surfaces
- Layouts → Client services: uses · Shells consume shared services for navigation, state, and orchestration
- Feature pages → Client services: calls · Pages delegate domain work to the client service layer
- Role dashboards → Client services: calls · Role-specific pages reuse the same shared service boundary
- Feature pages → Adaptive content: embeds · Many pages render adaptive content and editor-style workflows
- Feature pages → Workshops: hosts · Workshop routes are a major learning workflow
- Feature pages → Profile & personal: hosts · Personal and profile pages form a separate user-centered area
- Adaptive content → AI provider: uses · Adaptive editing and research tools rely on AI assistance
- Adaptive content → Client infra: caches · Semantic cache and delta interceptors support adaptive content flows
- Realtime collab → Realtime provider: syncs · Chat and collaboration features sync over realtime infrastructure
- Media layer → Media hosting: uploads · Upload components and services forward assets to external storage or delivery services
- Client services → Orchestrator app: requests · Client services call the backend coordination API when orchestration is needed
- Client services → AI provider: integrates · Services wrap AI, search, content, and assistant integrations
- Client services → Realtime provider: integrates · Services wrap chat and socket/RTC style channels
- Client services → Payments: integrates · Billing, donation, and checkout flows connect to payment providers
- Client infra → PWA + SSR: supports · Interceptors and shared utilities complement SSR and offline delivery
- Orchestrator app → Demand: includes · The backend root includes demand shaping and prompt handling
- Orchestrator app → Neurons: includes · The backend root includes neuron decision components
- Orchestrator app → Evolution: includes · The backend root includes evolution services
- Orchestrator app → Orchestration: includes · The backend root includes the main orchestration module
- Orchestrator app → Collaboration: includes · The backend root includes collaboration support
- Orchestration → Demand: coordinates · Orchestration can use demand shaping for routing and matching
- Orchestration → Neurons: scores · Orchestration can depend on neuron-style decision logic
- Orchestration → Evolution: refines · Orchestration can hand off to evolution workflows
- Orchestration → Collaboration: bridges · Orchestration connects to collaboration-related backend behavior