LokVeda is a web-based E-Gram Panchayat system designed to digitize essential village-level services with a strong focus on authentication, session security, accessibility, and UX clarity.
This project currently represents a preview / base release (v1.0.1), focusing on secure access, role-based dashboards, and system flow rather than full service execution.
๐ Live Demo: https://dipsana.github.io/lokveda/
LokVeda simulates a real-world government service portal for Indian villages, where citizens are pre-registered and authenticated via OTP.
No public sign-up is required, reflecting real administrative workflows.
The system supports three roles:
- ๐ค User (Citizen)
- ๐งโ๐ผ Staff
- ๐ก๏ธ Admin
Each role has a dedicated login page and dashboard.
- OTP-based login (Aadhaar-linked phone number)
- Regex-based input validation (length, digits, format)
- Friendly status messages for success/failure
- Max attempt limit (blocks user for 24 hours after repeated failures)
- Session lock if user exits improperly
- Secure logout with warning modal
- Session creation & validation via Firebase
- Auto logout after 15 minutes of inactivity
- Session guard prevents:
- Direct dashboard access without login
- Sneaky URL navigation
- Users attempting multiple logins are restricted for 3 hours
- Ensures role-based geographic access:
- Users โ same village
- Staff โ same state
- Admin โ within India (border-aware logic)
- Prevents misuse from outside allowed regions
- Dynamic greeting message displayed across dashboards
- Personalized with user name
- Time-aware greeting logic
- Detects browser theme preference instantly
- Preserves user choice locally (until cache cleared)
- Smooth, non-blinding transitions
- Minimal, clean toggle button with hover aura
Displayed only after successful authentication:
- Greeting text
- Dashboard shortcut
- Search icon + expandable search bar (UI-ready)
- Dark mode toggle
- Secure logout button
Visibility is managed using reusable hide() and show() utilities.
-
Forms are created and load dynamically via
form-loader -
URL parameter-based loading implemented
-
Submission, updates, and downloads are not yet implemented
-
Undeveloped features are clearly marked using:
element.title = 'In development';
All database and authentication logic is encapsulated inside firebase.js.
- Acts as a virtual backend
- Exports only required getters/setters
- Prevents data tampering via encapsulation
- Must be initialized exactly once
- Re-initialization triggers forced logout
If moved server-side, the app architecture remains secure.
Perfect, this is clean now. Below is a fully updated, clickable folder structure with all form files included and linked individually, exactly suitable for README / mini-readme / documentation repo view (GitHub).
You can copy-paste this as-is.
lokveda-egram-panchayat/
โโโ ๐ assets/
โ โโโ ๐ icons/
โ
โโโ ๐ auth/
โ โโโ auth-user.html
โ โโโ auth-staff.html
โ โโโ auth-admin.html
โ โโโ auth-core.js
โ โโโ auth.css
โ
โโโ ๐ dashboard/
โ โโโ dashboard-user.html
โ โโโ dashboard-staff.html
โ โโโ dashboard-admin.html
โ โโโ dashboard.js
โ โโโ dashboard.css
โ
โโโ ๐ form-loader/
โ โโโ form-api.js
โ โโโ form-loader.js
โ โโโ form-ui.css
โ โโโ form-view.html
โ
โโโ ๐ forms/
โ โโโ birth.html
โ โโโ death.html
โ โโโ dues.html
โ โโโ election-updates.html
โ โโโ grievance.html
โ โโโ health-checkup.html
โ โโโ jobs.html
โ โโโ land.html
โ โโโ mgnrega.html
โ โโโ property-tax.html
โ โโโ property.html
โ โโโ public-notices.html
โ โโโ public-works.html
โ โโโ rti.html
โ โโโ sanitation.html
โ โโโ skill-training.html
โ โโโ subsidies.html
โ โโโ tenders.html
โ โโโ voter-id.html
โ โโโ voter-list.html
โ โโโ water-tax.html
โ โโโ welfare-schemes.html
โ
โโโ ๐ services/ (future scope)
โ
โโโ dom.js
โโโ firebase.js
โโโ greeting-bot.js
โโโ nav-bar.js
โโโ script-global.js
โโโ style-global.css
โโโ utilities.css
โโโ index.html
โโโ favicon.png
โโโ preview.png
โ
โโโ ๐ documentation/
โ โโโ ๐ LOKVEDA_COLLEGE.docx
โ โโโ ๐ LOKVEDA_COLLEGE.pdf
โ โโโ ๐ LOKVEDA_STUDENT.docx
โ โโโ ๐ LOKVEDA_STUDENT.pdf
โ โโโ ๐ SRS.docx
โ โโโ ๐ SRS.pdf
โ โโโ ๐ README.md
โ
โโโ ๐ CHANGELOG.md
โโโ ๐ LICENSE
โโโ ๐ README.md
- ๐ Software Requirements Specification (SRS)
- ๐ College Documentation
- ๐ Student Documentation
- ๐ Changelog
- ๐ License (MIT)
- Service application submission (CRUD)
- Admin approval workflows
- Staff verification flow
- Downloadable forms (PDF/DOCX)
- Profile management
- Full backend deployment
- Dipsana Roy โ Core architecture, frontend, authentication, session logic, UX, Firebase integration
- Ayushman Saha โ Documentation & Presentation
- Sayan Goswami โ Documentation & Presentation
- Ananya Saha โ Forms & Documentation
- Smritilata Sardar โ Forms & Documentation
This project is licensed under the MIT License.
- IEEE Software Requirements Specification Standards
- Firebase Official Documentation
- Twilio Console
- MDN Web Docs โ HTML, CSS, JavaScript
- Research papers on E-Governance systems
- ChatGPT (OpenAI) โ Assisted in documentation structuring, content refinement, and automation of repetitive coding tasks
Note: This project intentionally prioritizes system design, security flow, and real-world logic over feature completeness for this phase.