# techteamadisindia-code/wonderfull-jodi-platform-main architecture

> Architecture diagram of the GitHub repository techteamadisindia-code/wonderfull-jodi-platform-main, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-09-30). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/techteamadisindia-code/wonderfull-jodi-platform-main
- Repository: https://github.com/techteamadisindia-code/wonderfull-jodi-platform-main

## Overview

Wonderful Jodi is a doctor-focused matrimonial platform. Members register and maintain profiles, discover matches, and use interactions and membership features; administrators manage platform operations and content. The README names authentication, search, matchmaking, interests, chat, notifications, memberships, and an admin dashboard. The graph preserves those major capabilities, but sampled source only verifies selected implementation links; other feature connections are omitted rather than inferred. Backend persistence and several frontend-to-backend route connections are not established by the excerpts.

Main entry points: [`frontend/app/profile/page.tsx`](https://github.com/techteamadisindia-code/wonderfull-jodi-platform-main/blob/main/frontend/app/profile/page.tsx) (Profile management), [`backend/src/routes/adminRoutes.ts`](https://github.com/techteamadisindia-code/wonderfull-jodi-platform-main/blob/main/backend/src/routes/adminRoutes.ts) (Admin routes), [`frontend/app/register/page.tsx`](https://github.com/techteamadisindia-code/wonderfull-jodi-platform-main/blob/main/frontend/app/register/page.tsx) (Registration), [`frontend/app/membership/page.tsx`](https://github.com/techteamadisindia-code/wonderfull-jodi-platform-main/blob/main/frontend/app/membership/page.tsx) (Memberships)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_member["Member experience"]
  node_registration_ui["Registration<br/>[page.tsx]"]
  node_registration_api["Registration API<br/>[registrationApi.ts]"]
  node_registration_controller["Registration workflow"]
  node_doctor_validation["Doctor validation"]
  node_profile_ui["Profile management<br/>[page.tsx]"]
  node_profile_data[("Profile model<br/>[Profile.ts]")]
  node_profile_api["Profile API client<br/>[api.ts]"]
end

subgraph group_matching["Matching and interaction"]
  node_search["Profile search<br/>[SearchForm.tsx]"]
  node_interests["Interests<br/>[page.tsx]"]
  node_chat["Messaging<br/>[page.tsx]"]
  node_kundali["Kundali matching<br/>[page.tsx]"]
  node_astrology["Astrology engine<br/>[astrologyEngine.ts]"]
end

subgraph group_services["Platform services"]
  node_membership["Memberships<br/>[page.tsx]"]
  node_offers["Offer calculation<br/>[offerEngine.ts]"]
  node_notifications["Notifications<br/>[page.tsx]"]
  node_backend_app["HTTP application<br/>[app.ts]"]
end

subgraph group_admin["Administration"]
  node_admin_ui["Admin dashboard<br/>[page.tsx]"]
  node_admin_routes["Admin routes<br/>[adminRoutes.ts]"]
  node_admin_controller["Admin operations<br/>[adminController.ts]"]
  node_blog_controller["Content management<br/>[blogController.ts]"]
end

node_members(("Members"))

node_members -->|"registers through"| node_registration_ui
node_members -->|"manages profile"| node_profile_ui
node_members -->|"finds matches"| node_search
node_members -->|"expresses interest"| node_interests
node_members -->|"uses chat"| node_chat
node_members -->|"uses memberships"| node_membership
node_members -->|"receives notifications"| node_notifications
node_registration_ui -->|"saves steps"| node_registration_api
node_registration_controller -->|"validates details"| node_doctor_validation
node_profile_ui -->|"updates profile"| node_profile_api
node_profile_ui -->|"edits profile"| node_profile_data
node_kundali -.->|"requests matching"| node_astrology
node_membership -.->|"evaluates offers"| node_offers
node_admin_ui -.->|"manages platform"| node_admin_routes
node_admin_routes -->|"routes requests"| node_admin_controller
node_backend_app -->|"mounts routes"| node_admin_routes
node_admin_controller -.->|"manages content"| node_blog_controller

click node_registration_ui "https://github.com/techteamadisindia-code/wonderfull-jodi-platform-main/blob/main/frontend/app/register/page.tsx"
click node_registration_api "https://github.com/techteamadisindia-code/wonderfull-jodi-platform-main/blob/main/frontend/services/registrationApi.ts"
click node_registration_controller "https://github.com/techteamadisindia-code/wonderfull-jodi-platform-main/blob/main/backend/src/controllers/registrationController.ts"
click node_doctor_validation "https://github.com/techteamadisindia-code/wonderfull-jodi-platform-main/blob/main/backend/src/utils/doctorValidation.ts"
click node_profile_ui "https://github.com/techteamadisindia-code/wonderfull-jodi-platform-main/blob/main/frontend/app/profile/page.tsx"
click node_profile_data "https://github.com/techteamadisindia-code/wonderfull-jodi-platform-main/blob/main/backend/src/models/Profile.ts"
click node_profile_api "https://github.com/techteamadisindia-code/wonderfull-jodi-platform-main/blob/main/frontend/lib/api.ts"
click node_search "https://github.com/techteamadisindia-code/wonderfull-jodi-platform-main/blob/main/frontend/components/SearchForm.tsx"
click node_interests "https://github.com/techteamadisindia-code/wonderfull-jodi-platform-main/blob/main/frontend/app/interests/page.tsx"
click node_chat "https://github.com/techteamadisindia-code/wonderfull-jodi-platform-main/blob/main/frontend/app/messages/page.tsx"
click node_kundali "https://github.com/techteamadisindia-code/wonderfull-jodi-platform-main/blob/main/frontend/app/kundali-match/page.tsx"
click node_astrology "https://github.com/techteamadisindia-code/wonderfull-jodi-platform-main/blob/main/backend/src/services/astrologyEngine.ts"
click node_membership "https://github.com/techteamadisindia-code/wonderfull-jodi-platform-main/blob/main/frontend/app/membership/page.tsx"
click node_offers "https://github.com/techteamadisindia-code/wonderfull-jodi-platform-main/blob/main/backend/src/services/offerEngine.ts"
click node_notifications "https://github.com/techteamadisindia-code/wonderfull-jodi-platform-main/blob/main/frontend/app/notifications/page.tsx"
click node_backend_app "https://github.com/techteamadisindia-code/wonderfull-jodi-platform-main/blob/main/backend/src/app.ts"
click node_admin_ui "https://github.com/techteamadisindia-code/wonderfull-jodi-platform-main/blob/main/frontend/app/admin/dashboard/page.tsx"
click node_admin_routes "https://github.com/techteamadisindia-code/wonderfull-jodi-platform-main/blob/main/backend/src/routes/adminRoutes.ts"
click node_admin_controller "https://github.com/techteamadisindia-code/wonderfull-jodi-platform-main/blob/main/backend/src/controllers/adminController.ts"
click node_blog_controller "https://github.com/techteamadisindia-code/wonderfull-jodi-platform-main/blob/main/backend/src/controllers/blogController.ts"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_registration_ui,node_registration_api,node_registration_controller,node_doctor_validation,node_profile_ui,node_profile_data,node_profile_api toneBlue
class node_search,node_interests,node_chat,node_kundali,node_astrology toneAmber
class node_membership,node_offers,node_notifications,node_backend_app toneMint
class node_admin_ui,node_admin_routes,node_admin_controller,node_blog_controller toneRose
class node_members toneIndigo
```

## Components

### Member experience

- [Registration](https://github.com/techteamadisindia-code/wonderfull-jodi-platform-main/blob/main/frontend/app/register/page.tsx): `frontend/app/register/page.tsx`
- [Registration API](https://github.com/techteamadisindia-code/wonderfull-jodi-platform-main/blob/main/frontend/services/registrationApi.ts): `frontend/services/registrationApi.ts`
- [Registration workflow](https://github.com/techteamadisindia-code/wonderfull-jodi-platform-main/blob/main/backend/src/controllers/registrationController.ts): `backend/src/controllers/registrationController.ts`
- [Doctor validation](https://github.com/techteamadisindia-code/wonderfull-jodi-platform-main/blob/main/backend/src/utils/doctorValidation.ts): `backend/src/utils/doctorValidation.ts`
- [Profile management](https://github.com/techteamadisindia-code/wonderfull-jodi-platform-main/blob/main/frontend/app/profile/page.tsx): `frontend/app/profile/page.tsx`
- [Profile model](https://github.com/techteamadisindia-code/wonderfull-jodi-platform-main/blob/main/backend/src/models/Profile.ts): `backend/src/models/Profile.ts`
- [Profile API client](https://github.com/techteamadisindia-code/wonderfull-jodi-platform-main/blob/main/frontend/lib/api.ts): `frontend/lib/api.ts`

### Matching and interaction

- [Profile search](https://github.com/techteamadisindia-code/wonderfull-jodi-platform-main/blob/main/frontend/components/SearchForm.tsx): `frontend/components/SearchForm.tsx`
- [Interests](https://github.com/techteamadisindia-code/wonderfull-jodi-platform-main/blob/main/frontend/app/interests/page.tsx): `frontend/app/interests/page.tsx`
- [Messaging](https://github.com/techteamadisindia-code/wonderfull-jodi-platform-main/blob/main/frontend/app/messages/page.tsx): `frontend/app/messages/page.tsx`
- [Kundali matching](https://github.com/techteamadisindia-code/wonderfull-jodi-platform-main/blob/main/frontend/app/kundali-match/page.tsx): `frontend/app/kundali-match/page.tsx`
- [Astrology engine](https://github.com/techteamadisindia-code/wonderfull-jodi-platform-main/blob/main/backend/src/services/astrologyEngine.ts): `backend/src/services/astrologyEngine.ts`

### Platform services

- [Memberships](https://github.com/techteamadisindia-code/wonderfull-jodi-platform-main/blob/main/frontend/app/membership/page.tsx): `frontend/app/membership/page.tsx`
- [Offer calculation](https://github.com/techteamadisindia-code/wonderfull-jodi-platform-main/blob/main/backend/src/services/offerEngine.ts): `backend/src/services/offerEngine.ts`
- [Notifications](https://github.com/techteamadisindia-code/wonderfull-jodi-platform-main/blob/main/frontend/app/notifications/page.tsx): `frontend/app/notifications/page.tsx`
- [HTTP application](https://github.com/techteamadisindia-code/wonderfull-jodi-platform-main/blob/main/backend/src/app.ts): `backend/src/app.ts`

### Administration

- [Admin dashboard](https://github.com/techteamadisindia-code/wonderfull-jodi-platform-main/blob/main/frontend/app/admin/dashboard/page.tsx): `frontend/app/admin/dashboard/page.tsx`
- [Admin routes](https://github.com/techteamadisindia-code/wonderfull-jodi-platform-main/blob/main/backend/src/routes/adminRoutes.ts): `backend/src/routes/adminRoutes.ts`
- [Admin operations](https://github.com/techteamadisindia-code/wonderfull-jodi-platform-main/blob/main/backend/src/controllers/adminController.ts): `backend/src/controllers/adminController.ts`
- [Content management](https://github.com/techteamadisindia-code/wonderfull-jodi-platform-main/blob/main/backend/src/controllers/blogController.ts): `backend/src/controllers/blogController.ts`

### Other components

- **Members**

## Connections

- Members → Registration: registers through (evidence: `README.md`)
- Members → Profile management: manages profile (evidence: `README.md`)
- Members → Profile search: finds matches (evidence: `README.md`)
- Members → Interests: expresses interest (evidence: `README.md`)
- Members → Messaging: uses chat (evidence: `README.md`)
- Members → Memberships: uses memberships (evidence: `README.md`)
- Members → Notifications: receives notifications (evidence: `README.md`)
- Registration → Registration API: saves steps (evidence: `frontend/app/register/page.tsx`)
- Registration workflow → Doctor validation: validates details (evidence: `backend/src/controllers/registrationController.ts`)
- Profile management → Profile API client: updates profile (evidence: `frontend/app/profile/page.tsx`)
- Profile management → Profile model: edits profile
- Kundali matching → Astrology engine: requests matching
- Memberships → Offer calculation: evaluates offers
- Admin dashboard → Admin routes: manages platform
- Admin routes → Admin operations: routes requests (evidence: `backend/src/routes/adminRoutes.ts`)
- HTTP application → Admin routes: mounts routes (evidence: `backend/src/app.ts`)
- Admin operations → Content management: manages content
