# sgovindrana/mentor-on-demand-fullstack architecture

> Architecture diagram of the GitHub repository sgovindrana/mentor-on-demand-fullstack, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-09). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/sgovindrana/mentor-on-demand-fullstack
- Repository: https://github.com/sgovindrana/mentor-on-demand-fullstack

## Overview

This is an Angular frontend for a mentor-led training platform. Its user-facing areas cover account access and mentor signup, browsing mentor/training information, managing training and payments, and administration. Angular routes dispatch to page components; sampled pages use services that call HTTP endpoints on backend services. The README is empty, and several listed capabilities have only tree/index evidence, so their internal behavior and connections are not inferred.

Main entry points: [`FrontEnd/src/app/app.routing.module.ts`](https://github.com/sgovindrana/mentor-on-demand-fullstack/blob/master/FrontEnd/src/app/app.routing.module.ts) (Page routing), [`FrontEnd/src/app/admin/admin.component.ts`](https://github.com/sgovindrana/mentor-on-demand-fullstack/blob/master/FrontEnd/src/app/admin/admin.component.ts) (Administration), [`FrontEnd/src/app/training/training.component.ts`](https://github.com/sgovindrana/mentor-on-demand-fullstack/blob/master/FrontEnd/src/app/training/training.component.ts) (Training management), [`FrontEnd/src/app/signin/signin.component.ts`](https://github.com/sgovindrana/mentor-on-demand-fullstack/blob/master/FrontEnd/src/app/signin/signin.component.ts) (Account access)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_app["Angular app"]
  node_router["Page routing"]
end

subgraph group_accounts["Accounts"]
  node_account["Account access"]
  node_signup["User signup"]
  node_mentor_signup["Mentor signup"]
  node_profile["User profile"]
end

subgraph group_training["Training lifecycle"]
  node_mentor_browse["Mentor browsing"]
  node_training_manage["Training management"]
  node_training_current["Current training"]
  node_training_completed["Completed training"]
  node_training_model["Training records<br/>[training.model.ts]"]
end

subgraph group_operations["Platform operations"]
  node_payment["Payment management"]
  node_admin["Administration<br/>[admin.component.ts]"]
  node_catalog["Skills and technology"]
end

node_visitor(("User or mentor"))
node_backend_users{{"User API"}}
node_backend_training{{"Training API"}}
node_backend_payment{{"Payment API"}}
node_backend_mentors{{"Mentor API"}}

node_visitor -->|"opens pages"| node_router
node_router -->|"routes to"| node_account
node_router -->|"routes to"| node_signup
node_router -->|"routes to"| node_mentor_signup
node_router -->|"routes to"| node_profile
node_router -->|"routes to"| node_mentor_browse
node_router -->|"routes to"| node_training_manage
node_router -->|"routes to"| node_training_current
node_router -->|"routes to"| node_training_completed
node_router -->|"routes to"| node_payment
node_router -->|"routes to"| node_admin
node_account -->|"authenticates via"| node_backend_users
node_signup -.->|"creates account via"| node_backend_users
node_mentor_signup -->|"creates mentor via"| node_backend_mentors
node_training_manage -->|"requests training"| node_backend_training
node_training_current -->|"requests status"| node_backend_training
node_training_completed -->|"requests date range"| node_backend_training
node_payment -->|"requests payments"| node_backend_payment
node_admin -->|"manages users"| node_backend_users
node_admin -->|"manages payments"| node_backend_payment
node_admin -->|"updates commission"| node_backend_training
node_training_manage -->|"uses records"| node_training_model

click node_router "https://github.com/sgovindrana/mentor-on-demand-fullstack/blob/master/FrontEnd/src/app/app.routing.module.ts"
click node_account "https://github.com/sgovindrana/mentor-on-demand-fullstack/blob/master/FrontEnd/src/app/signin/signin.component.ts"
click node_signup "https://github.com/sgovindrana/mentor-on-demand-fullstack/blob/master/FrontEnd/src/app/signup/signup.component.ts"
click node_mentor_signup "https://github.com/sgovindrana/mentor-on-demand-fullstack/blob/master/FrontEnd/src/app/mentorsignup/mentorsignup.component.ts"
click node_profile "https://github.com/sgovindrana/mentor-on-demand-fullstack/blob/master/FrontEnd/src/app/profile/profile.component.ts"
click node_mentor_browse "https://github.com/sgovindrana/mentor-on-demand-fullstack/tree/master/FrontEnd/src/app/userlanding"
click node_training_manage "https://github.com/sgovindrana/mentor-on-demand-fullstack/blob/master/FrontEnd/src/app/training/training.component.ts"
click node_training_current "https://github.com/sgovindrana/mentor-on-demand-fullstack/blob/master/FrontEnd/src/app/current/current.component.ts"
click node_training_completed "https://github.com/sgovindrana/mentor-on-demand-fullstack/blob/master/FrontEnd/src/app/completed/completed.component.ts"
click node_training_model "https://github.com/sgovindrana/mentor-on-demand-fullstack/blob/master/FrontEnd/src/app/models/training.model.ts"
click node_payment "https://github.com/sgovindrana/mentor-on-demand-fullstack/blob/master/FrontEnd/src/app/payment/payment.component.ts"
click node_admin "https://github.com/sgovindrana/mentor-on-demand-fullstack/blob/master/FrontEnd/src/app/admin/admin.component.ts"
click node_catalog "https://github.com/sgovindrana/mentor-on-demand-fullstack/tree/master/FrontEnd/src/app/skill"

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_router,node_visitor,node_backend_users toneBlue
class node_account,node_signup,node_mentor_signup,node_profile toneAmber
class node_mentor_browse,node_training_manage,node_training_current,node_training_completed,node_training_model,node_backend_training,node_backend_payment,node_backend_mentors toneMint
class node_payment,node_admin,node_catalog toneRose
```

## Components

### Angular app

- [Page routing](https://github.com/sgovindrana/mentor-on-demand-fullstack/blob/master/FrontEnd/src/app/app.routing.module.ts): `FrontEnd/src/app/app.routing.module.ts`

### Accounts

- [Account access](https://github.com/sgovindrana/mentor-on-demand-fullstack/blob/master/FrontEnd/src/app/signin/signin.component.ts): `FrontEnd/src/app/signin/signin.component.ts`
- [User signup](https://github.com/sgovindrana/mentor-on-demand-fullstack/blob/master/FrontEnd/src/app/signup/signup.component.ts): `FrontEnd/src/app/signup/signup.component.ts`
- [Mentor signup](https://github.com/sgovindrana/mentor-on-demand-fullstack/blob/master/FrontEnd/src/app/mentorsignup/mentorsignup.component.ts): `FrontEnd/src/app/mentorsignup/mentorsignup.component.ts`
- [User profile](https://github.com/sgovindrana/mentor-on-demand-fullstack/blob/master/FrontEnd/src/app/profile/profile.component.ts): `FrontEnd/src/app/profile/profile.component.ts`

### Training lifecycle

- [Mentor browsing](https://github.com/sgovindrana/mentor-on-demand-fullstack/tree/master/FrontEnd/src/app/userlanding): `FrontEnd/src/app/userlanding`
- [Training management](https://github.com/sgovindrana/mentor-on-demand-fullstack/blob/master/FrontEnd/src/app/training/training.component.ts): `FrontEnd/src/app/training/training.component.ts`
- [Current training](https://github.com/sgovindrana/mentor-on-demand-fullstack/blob/master/FrontEnd/src/app/current/current.component.ts): `FrontEnd/src/app/current/current.component.ts`
- [Completed training](https://github.com/sgovindrana/mentor-on-demand-fullstack/blob/master/FrontEnd/src/app/completed/completed.component.ts): `FrontEnd/src/app/completed/completed.component.ts`
- [Training records](https://github.com/sgovindrana/mentor-on-demand-fullstack/blob/master/FrontEnd/src/app/models/training.model.ts): `FrontEnd/src/app/models/training.model.ts`

### Platform operations

- [Payment management](https://github.com/sgovindrana/mentor-on-demand-fullstack/blob/master/FrontEnd/src/app/payment/payment.component.ts): `FrontEnd/src/app/payment/payment.component.ts`
- [Administration](https://github.com/sgovindrana/mentor-on-demand-fullstack/blob/master/FrontEnd/src/app/admin/admin.component.ts): `FrontEnd/src/app/admin/admin.component.ts`
- [Skills and technology](https://github.com/sgovindrana/mentor-on-demand-fullstack/tree/master/FrontEnd/src/app/skill): `FrontEnd/src/app/skill`

### Other components

- **User or mentor**
- **User API**
- **Training API**
- **Payment API**
- **Mentor API**

## Connections

- User or mentor → Page routing: opens pages (evidence: `FrontEnd/src/app/app.routing.module.ts`)
- Page routing → Account access: routes to (evidence: `FrontEnd/src/app/app.routing.module.ts`)
- Page routing → User signup: routes to (evidence: `FrontEnd/src/app/app.routing.module.ts`)
- Page routing → Mentor signup: routes to (evidence: `FrontEnd/src/app/app.routing.module.ts`)
- Page routing → User profile: routes to (evidence: `FrontEnd/src/app/app.routing.module.ts`)
- Page routing → Mentor browsing: routes to (evidence: `FrontEnd/src/app/app.routing.module.ts`)
- Page routing → Training management: routes to (evidence: `FrontEnd/src/app/app.routing.module.ts`)
- Page routing → Current training: routes to (evidence: `FrontEnd/src/app/app.routing.module.ts`)
- Page routing → Completed training: routes to (evidence: `FrontEnd/src/app/app.routing.module.ts`)
- Page routing → Payment management: routes to (evidence: `FrontEnd/src/app/app.routing.module.ts`)
- Page routing → Administration: routes to (evidence: `FrontEnd/src/app/app.routing.module.ts`)
- Account access → User API: authenticates via
- User signup → User API: creates account via
- Mentor signup → Mentor API: creates mentor via
- Training management → Training API: requests training
- Current training → Training API: requests status
- Completed training → Training API: requests date range
- Payment management → Payment API: requests payments
- Administration → User API: manages users
- Administration → Payment API: manages payments
- Administration → Training API: updates commission
- Training management → Training records: uses records (evidence: `FrontEnd/src/app/training/training.component.ts`)
