This is a Web-Based Online Voting System built using HTML, CSS, JavaScript, Node.js, Express, and SQLite3. The application provides a secure, interactive, and easy-to-use platform for conducting elections digitally, allowing users to vote from anywhere with internet access.
- 🔐 Register and login functionality
- 🧑 Register as either a Voter or Candidate
- 📋 Voter dashboard shows personal details from the registration form
- 🗳️ Cast your vote via a secure and confirmation-based process
- ✅ Confirmation page before final submission of vote
- 📊 Real-time election result display
- 👥 Candidate list with names and party info
- 🏠 Additional pages: Home, About , Help.
- Frontend: HTML, CSS, JavaScript
- Backend: Node.js, Express.js
- Database: SQLite3
- online-voting-system-project/
- ├── css/ # Stylesheets for the project
- ├── js/ # JavaScript files for client-side functionality
- ├── server/ # Server-side code (e.g., Node.js, Express configurations)
- ├── images/ # Image assets used in the project
- - │ ├── 360_F_758655896_zbLoAWc5SEZwB2075XSYyS4n9SGiEmz5.jpg
- - │ ├── 628412-ec.jpg
- - │ ├── Arun-Goel.webp
- - │ ├── ELECTION_COMMISSION_PC__DELHI_2024__16_03_26.jpg
- - │ ├── GHeWfiCXYAAgZy9.jpeg
- - │ ├── LoksabhaelectionBanner.jpg
- - │ ├── Priyanka-joining-the-congress-party-Article-Image.avif
- - │ ├── anupbkb.jpeg
- - │ ├── download__3_-removebg-preview.png
- - │ └── image001JW34.jpg
- ├── views/ # HTML files for different pages
- - │ ├── about.html
- - │ ├── candidates.html
- - │ ├── dashboard.html
- - │ ├── help.html
- - │ └── index.html
- ├ ── README.md # Project documentation
- ├── package.json # Project metadata and dependencies
- └── .gitignore # Specifies files and directories to be ignored by Git- Node.js & npm installed on your system
- git clone https://github.com/Mayank2142/online-voting-system-project.git
- cd online-voting-system-project
- cd server
- npm install
- node server/app.js
- http://localhost:3000
- Register as a voter or candidate
- Login with your credentials
- Voter: View your dashboard and personal details
- Click "Cast Your Vote" → select a candidate → confirm → view result
- Explore additional pages like candidate list, about, and help
- This project is open-source and available under the MIT License.
- Developed by Mayank
- Feel free to connect on https://github.com/Mayank2142
- If you get a port error, open server/app.js and change the port number as needed.
- The frontend files (HTML, CSS, JS) are in the main project folders (views/, css/, js/), and backend logic is handled in the server/ folder.









