A secure and efficient web application for managing voter data with CSV upload/download, OTP-based authentication, surveyor link generation, and automated voter slip creation.
This project provides an admin-facing dashboard to securely manage voter data with full CRUD capabilities. Built for election teams and survey administrators, it offers tools for bulk import/export via CSV, secure login using OTP, and automatic voter slip generation for fieldwork. Each surveyor gets a unique link for streamlined data handling.
git clone https://github.com/abdurrahmanshkh/voterdatamanager.git
cd voterdatamanager
npm install
Create a .env
file and define the following:
MONGO_URI=your_mongodb_uri
OTP_SECRET=your_otp_secret
BASE_URL=http://localhost:3000
npm run dev
Visit http://localhost:3000
to access the dashboard.
voter-dashboard/
โโโ backend/ # Node.js server and routes
โโโ frontend/ # SvelteKit UI
โโโ public/ # Static assets
โโโ utils/ # Helper functions (CSV parser, OTP, etc)
โโโ .env # Environment configuration
โโโ README.md
You can deploy this project using:
Pull requests and issue reports are welcome. For major changes, please open an issue first to discuss what you'd like to change.
This project is licensed under the MIT License.