This documentation is based on the current code in this repository
(G:/EdaVro) and updated for accuracy.
src/pages/src/js/manifest.json and service-worker.js.dist/.| 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 |
| 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 |
| NPM Script | What it does |
|---|---|
npm run dev |
Starts Tailwind watch build (src/css/tailwind.css → src/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 |
index.html is marketing/preview page.app.html registers SW and redirects after splash animation to src/pages/splash-screen.html.src/js/splashScreen.js routes splash page to onboarding.html.src/js/onbording.js controls onboarding slides and routes to sign-in.html.src/js/ (36)src/pages/ (43)index.html and app.html.pages/offline.html when offline.standalone display.| 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 |
service-worker.js references files that do not exist by exact name (e.g. global-validations.js, validateForm.js, cartification.html), but actual files are global-validation.js, validateFrom.js, certification.html etc.
forgatPass, exprence, validateFrom, compleated-course, myCourser), which makes maintenance harder.
Roboto (see fonts.css), but some pages/components may still use Poppins/AnekBangla inline — consider one system-wide decision.
src/js/ and src/pages/).
Updated from repository state on 2026-04-27.