Edavro — Project Documentation

This documentation is based on the current code in this repository (G:/EdaVro) and updated for accuracy.

Version
1.0.0
HTML Screens
43 files in src/pages/
JavaScript Modules
36 files in src/js/
Styling
Tailwind CSS + custom CSS

1) What this project actually is

2) Tech stack (from codebase)

Area Implementation
Frontend HTML pages + Vanilla JavaScript
CSS tailwindcss@^3.4.19 + src/css/custom-styles.css
Build tools cross-env, cpx, html-minifier-terser
PWA Web App Manifest + Service Worker cache + offline fallback page
Data persistence Uses browser localStorage for payment flow state

3) Project structure

Path Purpose
app.html Main app launcher splash + service worker registration + install UI + redirect to src/pages/splash-screen.html
index.html Landing/preview page with iframe and docs link
documentation.html This documentation file
manifest.json PWA metadata (name, icons, colors, scope, display)
service-worker.js Precache + runtime cache + offline navigation fallback
src/pages/ All app screens (43 HTML pages)
src/js/ Page-level behavior modules (36 files)
src/css/ Tailwind input/output, fonts.css (Roboto), and custom component styles
scripts/build-root-files.js Post-processing and root-file build copy logic
dist/ Production-ready build output

4) Build & run

NPM Script What it does
npm run dev Starts Tailwind watch build (src/css/tailwind.csssrc/css/output.css)
npm run build:css:prod Compiles minified CSS into dist/css/output.css
npm run copy:assets Copies src/assets and src/js into dist
npm run copy:root Builds/copies root files (index.html, app.html, documentation.html, manifest adjustments)
npm run minify:html Minifies HTML pages from src/pages into dist/pages
npm run build Runs full production pipeline

5) Runtime flow

6) JavaScript module map (actual files)

All files in src/js/ (36)

7) HTML page inventory (actual files)

All files in src/pages/ (43)

8) PWA behavior

9) Real storage keys used

Key Used in Meaning
paymentStatus payment-validation.js, securePayment.js Tracks payment flow status
selectedCardName securePayment.js Chosen card name
selectedCardIcon securePayment.js Chosen card icon path

10) Quality notes (to improve project further)

Important: Naming inconsistencies and mixed font usage can break caching/build assumptions and make maintenance harder.

11) Last updated

Updated from repository state on 2026-04-27.