Skip to content

A web-based online voting system using HTML, CSS, JS, Node.js, Express & SQLite3. Users register as voters or candidates. Voters see their registered details on the dashboard and can cast votes with confirmation. Includes pages for results, candidate list, help, about & more.

Notifications You must be signed in to change notification settings

Mayank2142/online-voting-system-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Online Voting System

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.

🚀 Features

  • 🔐 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.

🛠️ Tech Stack

  • Frontend: HTML, CSS, JavaScript
  • Backend: Node.js, Express.js
  • Database: SQLite3

📂 Project Structure

- 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

🧪 Getting Started

✅ Prerequisites

  • Node.js & npm installed on your system

🔧 Installation

📚 Usage

  • 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

License

  • This project is open-source and available under the MIT License.

👨‍💻 Author

NOTE

  • 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.

📸 SCRRENSHOT :-

image image image image image image WhatsApp Image 2025-04-03 at 20 34 00_6908a6e0 WhatsApp Image 2025-04-03 at 20 33 40_038cf04f WhatsApp Image 2025-04-03 at 20 33 20_2298f091 WhatsApp Image 2025-04-03 at 20 34 41_4ff26a24

About

A web-based online voting system using HTML, CSS, JS, Node.js, Express & SQLite3. Users register as voters or candidates. Voters see their registered details on the dashboard and can cast votes with confirmation. Includes pages for results, candidate list, help, about & more.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published