Developer & Architecture Manual
Complete setup, folder structure, customization recipes, and third-party asset credits for CareSync Enterprise 5.5 (36 pages on Bootstrap 5.3 + Chart.js 4).
1. Role Layout Matrix & Command Header
Application workspaces inject the Dual-Tier Top Command Shell via assets/js/shell.js while rendering workspace-specific CSS grids so each role looks distinct:
2. File & Folder Architecture
caresync/
├── index.html # Landing showcase & signal comparison loupe
├── docs.html # Developer & customization manual
├── README.md # Quick-start & credits overview
├── robots.txt & sitemap.xml # Search indexing configuration
├── netlify.toml # Security headers & redirects
├── assets/
│ ├── css/caresync.css # Theme variables, mega-menus & multi-pane grids
│ ├── data/clinic-data.json # Sample doctors, labs, pharmacy & ward beds
│ ├── fonts/ # Local WOFF2 fonts (Jakarta, Inter, Mono)
│ ├── img/ # Compressed WebP clinic & portrait images
│ ├── js/ # core.js, shell.js, booking.js, clinical.js, charts.js
│ └── vendor/ # Local Bootstrap 5.3 LTR/RTL, Icons & Chart.js 4
└── pages/
├── public/ # Directory, profile, specialties, 4-step booking, FAQ
├── auth/ # Split login, register, password reset & lock screen
├── patient/ # Health Passport overview, labs, meds, triage, wellness
├── clinician/ # 3-pane EMR, schedule, SOAP, E-Rx, odontogram, telehealth
├── operations/ # Command hub, Kanban bays, dispatch, billing, POS, settings
└── utilities/ # 404 & 500 error recovery views
3. Zero-Build Local Server Setup
Open directly via any static HTTP server (recommended so fetch('assets/data/clinic-data.json') loads without browser local-file restrictions):
npx serve . python -m http.server 8080
4. Customizing Logo, Brand Name, Campuses & Sample Data
Replace favicon.svg and update .navbar-brand inside public headers plus CareSync strings in assets/js/shell.js for workspace command headers.
Edit assets/data/clinic-data.json (and matching fallback inside assets/js/core.js) to customize physician profiles, time slots, or ward room names.
Modify the WORKSPACES map in assets/js/shell.js to rename tabs, icons, or facility campus options.
Extend the I18N dictionary in assets/js/core.js; Arabic (AR) toggles dir="rtl" and loads bootstrap.rtl.min.css.
5. Swiss Cobalt & Night Rounds Color Tokens
:root { --cs-bg: #F4F7FB; --cs-cobalt: #1D4ED8; --cs-cyan: #0891B2; --cs-emerald: #059669; }
6. Live Component Showcase
7. Complete 36-Page Route Inventory
| Zone | Pages | Layout & Capability |
|---|---|---|
| Public (10) | index, doctors, doctor-profile, specialties, booking-step1..4, faq-contact, docs | Mega-menus, filter facets, connected stepper, .ICS funnel |
| Auth & Util (6) | login, register, forgot-password, lock-screen, 404, 500 | Full-viewport 50/50 split stage & error recovery |
| Patient (7) | overview, appointments, records, labs, medications, triage, wellness | Sticky Health Passport rail, adherence matrix, dual-view anatomy, modal labs |
| Clinician (6) | overview, schedule, encounter, prescriptions, odontogram, telehealth | 3-pane EMR, SOAP macros, Mon-Fri calendar modal, live E-Rx, 32 tooth shapes |
| Operations (7) | overview, beds-ward, dispatch, billing, dispensary, checkout, settings | 2-zone command, 9-bay Kanban, SVG transit map, 3-zone POS, vertical settings |
8. Third-Party Licenses, Credits & Disclaimers
| Asset / Library | Location | License |
|---|---|---|
| Bootstrap 5.3 (LTR & RTL) | assets/vendor/bootstrap/ | MIT License |
| Bootstrap Icons | assets/vendor/bootstrap-icons/ | MIT License |
| Chart.js 4 | assets/vendor/chartjs/ | MIT License |
| Plus Jakarta Sans · Inter · IBM Plex Mono | assets/fonts/ | SIL Open Font License 1.1 |
| Clinical & Portrait Visuals (.webp) | assets/img/ | Original Custom Bundled Artwork |
Frontend UI presentation template only containing fictional campuses, sample vitals, and placeholder formulas — not certified medical software or diagnostic tools.