# merajsiddique07/mini-project architecture

> Architecture diagram of the GitHub repository merajsiddique07/mini-project, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-08-03). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/merajsiddique07/mini-project
- Repository: https://github.com/merajsiddique07/mini-project

## Overview

#### Purpose
Swasth Sarthi is a static, browser-based health-support prototype. It presents authentication, profile/premium pages, and pregnancy/maternal-care feature screens, with bundled PDF reports as user-facing health documents. There is no backend, API client, package manifest, or server runtime in the repository.

#### Browser Entry Points
The application is a multi-page HTML site rather than a single routed application. The primary landing entry is `index.html`; account flows use `login.html`, `signup.html`, and `forgetpass.html`. User-oriented destination pages include `profile.html` and `premium.html`.

#### Shared Presentation and Behavior Layer
Global styling and client-side interactions are centralized in:
- `css/style.css`
- `js/script.js`

These files are the likely cross-page integration boundary: HTML pages provide structure/content, the stylesheet controls the visual system, and the script implements any navigation, form, or UI behavior available without a backend.

#### Feature Module: Health Analysis
Health-analysis functionality is exposed as a standalone feature page:
- `features/healthAnalysis.html`

This is a presentation-level module; any analysis shown is necessarily browser/static-content driven because no data-processing service or application backend is present.

#### Feature Module: Pregnancy and Baby Care
Pregnancy-oriented guidance is split into dedicated screens:
- `features/appoint.html`
- `features/babyCare.html`
- `features/toDo.html`

These pages likely form the main maternal-care workflow: appointment-related content, baby-care guidance, and task/checklist content. They are separate documents, so navigation between them depends on links and shared JavaScript rather than an internal router.

#### Feature Module: Instant Contact
An immediate-support/contact experience is isolated at:
- `features/instantCall.html`

This page is an important external-service boundary: the repository contains no telephony, messaging, or API integration code, so any “instant call” behavior can only be a browser link/UI unless implemented through an external destination.

#### Health Report Assets
Pregnancy reports are stored as static PDF assets under:
- `features/Report/Pregnancy_Checkup_Report.pdf`
- `features/Report/Pregnancy_Report_1.pdf`
- `features/Report/Pregnancy_Report_2.pdf`

Feature pages can link directly to these documents for browser viewing or download. Reports are file-based assets, not dynamically generated records; updates require replacing or adding PDFs in the repository.

#### Runtime and Architectural Boundaries
The material runtime is a web browser serving static HTML, CSS, JavaScript, and PDFs. The architecture has no visible database, authentication provider, application server, build pipeline, or deployment configuration. Consequently, login/signup/profile/premium flows are UI boundaries only unless external behavior is embedded in the HTML or `js/script.js`.

Main entry points: [`index.html`](https://github.com/merajsiddique07/mini-project/blob/main/index.html) (Landing Page), [`login.html`](https://github.com/merajsiddique07/mini-project/blob/main/login.html) (Login), [`features/babyCare.html`](https://github.com/merajsiddique07/mini-project/blob/main/features/babyCare.html) (Baby Care), [`css/style.css`](https://github.com/merajsiddique07/mini-project/blob/main/css/style.css) (Global Styles)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_core["Core Site"]
  node_home["Landing Page<br/>HTML page<br/>[index.html]"]
  node_styles["Global Styles<br/>CSS<br/>[style.css]"]
  node_scripts["Shared UI Script<br/>JavaScript<br/>[script.js]"]
end

subgraph group_account["Account UI"]
  node_login["Login<br/>HTML page<br/>[login.html]"]
  node_signup["Sign Up<br/>HTML page<br/>[signup.html]"]
  node_forgot["Forgot Password<br/>HTML page<br/>[forgetpass.html]"]
  node_profile["Profile<br/>HTML page<br/>[profile.html]"]
  node_premium["Premium<br/>HTML page<br/>[premium.html]"]
end

subgraph group_features["Health Features"]
  node_analysis["Health Analysis<br/>HTML feature"]
  node_appointment["Appointments<br/>HTML feature<br/>[appoint.html]"]
  node_babycare["Baby Care<br/>HTML feature<br/>[babyCare.html]"]
  node_todo["Care Checklist<br/>HTML feature<br/>[toDo.html]"]
  node_instantcall["Instant Contact<br/>HTML feature<br/>[instantCall.html]"]
end

subgraph group_reports["Report Assets"]
  node_checkupreport["Checkup Report<br/>PDF asset"]
  node_report1["Pregnancy Report 1<br/>PDF asset"]
  node_report2["Pregnancy Report 2<br/>PDF asset"]
end

node_browser{{"Web Browser<br/>static runtime"}}

node_browser -->|"loads"| node_home
node_browser -->|"applies"| node_styles
node_browser -->|"runs"| node_scripts
node_home -->|"account navigation"| node_login
node_home -->|"feature navigation"| node_analysis
node_home -->|"feature navigation"| node_appointment
node_home -->|"feature navigation"| node_babycare
node_login -->|"registration flow"| node_signup
node_login -->|"recovery flow"| node_forgot
node_login -.->|"user destination"| node_profile
node_profile -->|"premium destination"| node_premium
node_appointment -->|"maternal-care navigation"| node_babycare
node_babycare -->|"care workflow"| node_todo
node_appointment -->|"opens report"| node_checkupreport
node_babycare -->|"opens report"| node_report1
node_babycare -->|"opens report"| node_report2
node_styles -->|"styles"| node_home
node_styles -->|"styles"| node_analysis
node_styles -->|"styles"| node_appointment
node_scripts -->|"UI behavior"| node_login
node_scripts -->|"UI behavior"| node_instantcall

click node_home "https://github.com/merajsiddique07/mini-project/blob/main/index.html"
click node_styles "https://github.com/merajsiddique07/mini-project/blob/main/css/style.css"
click node_scripts "https://github.com/merajsiddique07/mini-project/blob/main/js/script.js"
click node_login "https://github.com/merajsiddique07/mini-project/blob/main/login.html"
click node_signup "https://github.com/merajsiddique07/mini-project/blob/main/signup.html"
click node_forgot "https://github.com/merajsiddique07/mini-project/blob/main/forgetpass.html"
click node_profile "https://github.com/merajsiddique07/mini-project/blob/main/profile.html"
click node_premium "https://github.com/merajsiddique07/mini-project/blob/main/premium.html"
click node_analysis "https://github.com/merajsiddique07/mini-project/blob/main/features/healthAnalysis.html"
click node_appointment "https://github.com/merajsiddique07/mini-project/blob/main/features/appoint.html"
click node_babycare "https://github.com/merajsiddique07/mini-project/blob/main/features/babyCare.html"
click node_todo "https://github.com/merajsiddique07/mini-project/blob/main/features/toDo.html"
click node_instantcall "https://github.com/merajsiddique07/mini-project/blob/main/features/instantCall.html"
click node_checkupreport "https://github.com/merajsiddique07/mini-project/blob/main/features/Report/Pregnancy_Checkup_Report.pdf"
click node_report1 "https://github.com/merajsiddique07/mini-project/blob/main/features/Report/Pregnancy_Report_1.pdf"
click node_report2 "https://github.com/merajsiddique07/mini-project/blob/main/features/Report/Pregnancy_Report_2.pdf"

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_home,node_styles,node_scripts toneBlue
class node_login,node_signup,node_forgot,node_profile,node_premium toneAmber
class node_analysis,node_appointment,node_babycare,node_todo,node_instantcall toneMint
class node_checkupreport,node_report1,node_report2 toneRose
class node_browser toneNeutral
```

## Components

### Core Site

- [Landing Page](https://github.com/merajsiddique07/mini-project/blob/main/index.html): HTML page · `index.html`
- [Global Styles](https://github.com/merajsiddique07/mini-project/blob/main/css/style.css): CSS · Shared visual system across pages. · `css/style.css`
- [Shared UI Script](https://github.com/merajsiddique07/mini-project/blob/main/js/script.js): JavaScript · Client-side navigation, form, and UI behavior. · `js/script.js`

### Account UI

- [Login](https://github.com/merajsiddique07/mini-project/blob/main/login.html): HTML page · UI-only authentication boundary. · `login.html`
- [Sign Up](https://github.com/merajsiddique07/mini-project/blob/main/signup.html): HTML page · UI-only registration boundary. · `signup.html`
- [Forgot Password](https://github.com/merajsiddique07/mini-project/blob/main/forgetpass.html): HTML page · UI-only password recovery boundary. · `forgetpass.html`
- [Profile](https://github.com/merajsiddique07/mini-project/blob/main/profile.html): HTML page · Static user-oriented profile screen. · `profile.html`
- [Premium](https://github.com/merajsiddique07/mini-project/blob/main/premium.html): HTML page · Static premium offering screen. · `premium.html`

### Health Features

- [Health Analysis](https://github.com/merajsiddique07/mini-project/blob/main/features/healthAnalysis.html): HTML feature · Browser-driven health-analysis presentation. · `features/healthAnalysis.html`
- [Appointments](https://github.com/merajsiddique07/mini-project/blob/main/features/appoint.html): HTML feature · Maternal-care appointment content. · `features/appoint.html`
- [Baby Care](https://github.com/merajsiddique07/mini-project/blob/main/features/babyCare.html): HTML feature · Pregnancy and baby-care guidance. · `features/babyCare.html`
- [Care Checklist](https://github.com/merajsiddique07/mini-project/blob/main/features/toDo.html): HTML feature · Maternal-care task and checklist content. · `features/toDo.html`
- [Instant Contact](https://github.com/merajsiddique07/mini-project/blob/main/features/instantCall.html): HTML feature · UI/link boundary for external contact behavior. · `features/instantCall.html`

### Report Assets

- [Checkup Report](https://github.com/merajsiddique07/mini-project/blob/main/features/Report/Pregnancy_Checkup_Report.pdf): PDF asset · Static browser-viewable health document. · `features/Report/Pregnancy_Checkup_Report.pdf`
- [Pregnancy Report 1](https://github.com/merajsiddique07/mini-project/blob/main/features/Report/Pregnancy_Report_1.pdf): PDF asset · `features/Report/Pregnancy_Report_1.pdf`
- [Pregnancy Report 2](https://github.com/merajsiddique07/mini-project/blob/main/features/Report/Pregnancy_Report_2.pdf): PDF asset · `features/Report/Pregnancy_Report_2.pdf`

### Other components

- **Web Browser**: static runtime · Serves and runs the static site.

## Connections

- Web Browser → Landing Page: loads
- Web Browser → Global Styles: applies
- Web Browser → Shared UI Script: runs
- Landing Page → Login: account navigation
- Landing Page → Health Analysis: feature navigation
- Landing Page → Appointments: feature navigation
- Landing Page → Baby Care: feature navigation
- Login → Sign Up: registration flow
- Login → Forgot Password: recovery flow
- Login → Profile: user destination
- Profile → Premium: premium destination
- Appointments → Baby Care: maternal-care navigation
- Baby Care → Care Checklist: care workflow
- Appointments → Checkup Report: opens report
- Baby Care → Pregnancy Report 1: opens report
- Baby Care → Pregnancy Report 2: opens report
- Global Styles → Landing Page: styles
- Global Styles → Health Analysis: styles
- Global Styles → Appointments: styles
- Shared UI Script → Login: UI behavior
- Shared UI Script → Instant Contact: UI behavior
