LokVeda is a full-stack E-Gram Panchayat Management System designed to digitize village-level governance and citizen services while maintaining security, accessibility, and ease of use for non-technical users.
The platform provides secure authentication, role-based service workflows, application review pipelines, area-wise service management, and citizen-centric service delivery through a modern web interface.
Current Version: v2.1.0
LokVeda v2.1.0 is a complete rewrite of the original Firebase prototype and introduces a full backend architecture with authentication, authorization, workflow management, and administrative controls.
If link doesn't work click here: https://lokveda.onrender.com
If link doesn't work click here: https://github.com/dipsana/lokveda
LokVeda simulates a real-world Panchayat service portal where citizens can:
- Apply for government services
- Track application status
- Re-submit rejected applications
- View approved services
- Access services available in their area
Staff members review applications and forward valid requests to administrators.
Administrators manage services, approve applications, and oversee Panchayat operations.
- Login using Aadhaar number and OTP
- Apply for active services
- View application status
- Re-submit rejected applications
- View profile information
- Review citizen applications
- Reject incomplete applications
- Forward valid applications to administrators
- Review previously rejected applications
- Activate or deactivate services
- Approve reviewed applications
- Review rejected applications
- View approved applications
- Monitor service availability within their Panchayat
- Aadhaar-based login
- Email OTP verification
- Crypto-generated OTP codes
- Hashed OTP storage using bcrypt
- JWT-based authentication
- Session token management
- Single active session per account
LokVeda performs geographic verification before OTP generation.
- Citizens: Allowed within registered states
- Staff: Allowed within 10 km of assigned area
- Administrators: Allowed within 250 km of assigned area
Location distance is displayed using user-friendly messages.
- Maximum login attempt protection
- Suspicious login detection
- Session validation
- Device tracking
- IP logging
- Location tracking
- Account lock mechanisms
- Auth token during login
- Session token after verification
- Automatic session expiry
- Secure logout handling
- Protection against duplicate sessions
- Automatic browser preference detection
- Local preference persistence
- Smooth transitions
- Available throughout the application
Dynamic greeting messages based on:
- User name
- Time of day
- Sunrise and sunset calculations
Application Submitted
โ
Pending Review
โ
Reviewed by Staff
โ
Approved by Admin
Application Submitted
โ
Rejected
โ
Citizen Corrects Application
โ
Re-submitted
โ
Review Process Continues
Administrators can activate or deactivate services independently for each Panchayat area.
Citizens only see:
- Active services
- Rejected applications eligible for correction
Applications already pending, reviewed, or approved are hidden from the service application page.
- Birth Certificate
- Death Certificate
- Property Certificate
- Property Tax
- Water Tax
- MGNREGA Registration
- RTI Application
- Land Records
- Welfare Schemes
- Subsidies
- Grievance Submission
- Skill Training
- Employment Assistance
- Health Checkup Registration
- Sanitation Requests
- Public Notices
- Public Works Information
- Election Updates
- Voter ID Services
- Voter List Services
- Tenders
- Government Dues
lokveda/
โ
โโโ ๐ controllers/
โ โโโ auth.controller.js
โ โโโ dashboard.controller.js
โ โโโ service.controller.js
โ
โโโ ๐ middleware/
โ โโโ auth.middleware.js
โ
โโโ ๐ models/
โ โโโ area.model.js
โ โโโ polygon.model.js
โ โโโ service.model.js
โ โโโ user.model.js
โ
โโโ ๐ routes/
โ โโโ admin.route.js
โ โโโ citizen.route.js
โ โโโ global.route.js
โ โโโ staff.route.js
โ
โโโ ๐ public/
โ โ
โ โโโ ๐ css/
โ โ โโโ auth.css
โ โ โโโ dashboard.css
โ โ โโโ home.css
โ โ โโโ profile.css
โ โ โโโ style-global.css
โ โ โโโ utilities.css
โ โ โโโ ๐ services/
โ โ
โ โโโ ๐ js/
โ โ โโโ auth.js
โ โ โโโ script-global.js
โ โ
โ โโโ ๐ images/
โ โ โโโ ๐ background/
โ โ โ โโโ lokveda-dark.png
โ โ โ โโโ lokveda-light.png
โ โ โ
โ โ โโโ ๐ icons/
โ โ โโโ ๐ services/
โ โ โ
โ โ โโโ default-avatar.png
โ โ โโโ default-service.jpg
โ โ โโโ favicon.png
โ โ โโโ preview.png
โ โ
โ โโโ ๐ uploads/
โ โโโ ๐ profile-pics/
โ
โโโ ๐ views/
โ โ
โ โโโ ๐ partials/
โ โ โโโ header.ejs
โ โ โโโ nav.ejs
โ โ โโโ footer.ejs
โ โ โโโ ๐ forms/
โ โ
โ โโโ ๐ services/
โ โ โโโ applications.ejs
โ โ โโโ apply.ejs
โ โ โโโ create.ejs
โ โ โโโ menu.ejs
โ โ โโโ status.ejs
โ โ โโโ update.ejs
โ โ โโโ view.ejs
โ โ
โ โโโ auth.ejs
โ โโโ dashboard.ejs
โ โโโ home.ejs
โ โโโ profile.ejs
โ
โโโ ๐ services/
โ โโโ email.service.js
โ
โโโ ๐ documentation/
โ
โโโ index.js
โ
โโโ .gitignore
โโโ CHANGELOG.md
โโโ LICENSE
โโโ README.md
โโโ SECURITY.md
โโโ package-lock.json
โโโ package.json
The system currently supports 22 government services:
- Birth Certificate
- Death Certificate
- Property Registration
- Land Records
- Property Tax
- Water Tax
- Grievance Submission
- RTI Requests
- MGNREGA Registration
- Welfare Schemes
- Subsidies
- Skill Training
- Employment Assistance
- Health Checkup Registration
- Sanitation Requests
- Election Updates
- Voter ID Services
- Voter List Verification
- Public Notices
- Public Works Tracking
- Government Tenders
- Utility Dues
Client Browser
โ
โผ
Express Routes
โ
โผ
Controllers
โ
โผ
Middleware
โ
โผ
Mongoose Models
โ
โผ
MongoDB Database
- Aadhaar Validation
- Location Verification
- OTP Verification
- JWT Authentication
- Session Validation
- Role-Based Authorization
- Service Access Control
- Account Locking Protection
- Aadhaar Verification
- Email OTP Verification
- JWT Authentication
- Device Session Tracking
- Suspicious Login Detection
- Dynamic Form Rendering
- Application Submission
- Application Review
- Application Approval
- Application Rejection
- Email Service Updates
- Service Activation
- Service Deactivation
- Area-wise Management
- Application Approval Workflow
- Citizen Dashboard
- Staff Dashboard
- Admin Dashboard
- Dark Mode
- Responsive Design
- Dynamic Navigation
- Friendly Status Messaging
- Area-aware Footer
- HTML5
- CSS3
- JavaScript
- EJS
- Node.js
- Express.js
- MongoDB
- Mongoose
- JWT
- bcrypt
- crypto
- validator
- Nodemailer
- Render โ Application hosting and deployment platform used for running the Node.js and Express.js server in a cloud environment.
- Cloudflare (Planned / Future Integration) โ Intended for DNS management, performance optimization, SSL enhancement, caching, and protection against automated bots and malicious traffic.
LokVeda follows the MVC (Model-View-Controller) architecture.
- User
- Service
- Area
- Polygon
- Authentication Controller
- Dashboard Controller
- Service Controller
- Authentication Middleware
- Session Validation
- Authorization Checks
- Home
- Authentication
- Dashboard
- Profile
- Services
- Applications
- Status Tracking
- Centralized Email Service
- Sends secure OTP verification emails
- Sends application status emails (Submitted, Approved and Rejected)
- Provides reusable HTML email templates across the application
- Friendly status messages
- Responsive layouts
- Area-aware service visibility
- Rejected form auto-fill
- Consistent navigation system
- Accessible visual hierarchy
- Low learning curve for rural users
- File uploads not implemented
- PDF generation not implemented
- Document downloads not implemented
- Search functionality postponed
- Notifications not implemented
- Analytics dashboard not implemented
- File upload support
- PDF generation
- Digital document downloads
- SMS notifications
- Advanced analytics
- Search and filtering
- Multi-language support
- Mobile application
- Profile images currently use demonstration avatars stored locally within the application. User-uploaded profile images and cloud-based media storage are planned for future releases
- Custom domain integration through Cloudflare
- Enhanced security using Cloudflare bot protection and traffic filtering
- Global content delivery optimization through Cloudflare CDN
This project is licensed under the MIT License.
Dipsana Roy
Lead Developer, System Architect, Backend Developer, Frontend Developer, Database Designer, Documentation Author
LokVeda was developed as an academic project demonstrating secure authentication, role-based access control, workflow management, session security, and digital governance concepts in a Panchayat-level service delivery system.