How merajsiddique07/mini-project works
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 Landing Page · login.html Login · babyCare.html Baby Care · style.css Global Styles
Components 17
Core Site
- Landing Page
index.html - Global Styles · Shared visual system across pages.
css/style.css - Shared UI Script · Client-side navigation, form, and UI behavior.
js/script.js
Account UI
- Login · UI-only authentication boundary.
login.html - Sign Up · UI-only registration boundary.
signup.html - Forgot Password · UI-only password recovery boundary.
forgetpass.html - Profile · Static user-oriented profile screen.
profile.html - Premium · Static premium offering screen.
premium.html
Health Features
- Health Analysis · Browser-driven health-analysis presentation.
features/healthAnalysis.html - Appointments · Maternal-care appointment content.
features/appoint.html - Baby Care · Pregnancy and baby-care guidance.
features/babyCare.html - Care Checklist · Maternal-care task and checklist content.
features/toDo.html - Instant Contact · UI/link boundary for external contact behavior.
features/instantCall.html
Report Assets
- Checkup Report · Static browser-viewable health document.
features/Report/Pregnancy_Checkup_Report.pdf - Pregnancy Report 1
features/Report/Pregnancy_Report_1.pdf - Pregnancy Report 2
features/Report/Pregnancy_Report_2.pdf
Other components
- Web Browser · Serves and runs the static site.
Connections 21
- 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