Skip to content

AnkitVS/Election-Administration-System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Election Administration System

A Java Swing + MySQL application developed in NetBeans IDE to manage and conduct elections.


πŸš€ Features

  • Admin Login
    Secure login for administrators to manage election operations.

  • Voter Registration
    Add and maintain voter details in the database.

  • Candidate Management
    Register candidates contesting in the election.

  • Voting Panel

    • Eligible voters can cast their votes.

    • Prevents duplicate voting.

  • Result Calculation

    • Automatically counts votes.

    • Displays the winning candidate.


πŸ›  Tech Stack

  • UI: Java Swing (NetBeans)

  • Backend: Java (Core Java, JDBC)

  • Database: MySQL


Setup & Installation

  1. Clone the repository

    git clone https://github.com/AnkitVS/Election-Administration-System.git
    
  2. Open in NetBeans

    • Import the project into NetBeans IDE.

    • Ensure Java JDK (8 or higher) is installed.

  3. Create the MySQL database

    • Create a schema (e.g., election_db).

    • Create required tables (adjust names if your schema differs):

      • admins --- admin login details

      • voters --- voter information

      • candidates --- candidate list

      • votes --- vote records

  4. Configure JDBC

    • Locate the DB connection class (e.g., DBConnection.java) in src/.

    • Update host, port, database, username, password.

  5. Run the app

    • Run the main class (e.g., Main.java or HomePage.java) from NetBeans.

    • Use the Admin panel to add candidates/voters, then proceed with voting.


πŸ“‚ Project Structure

/src
   β”œβ”€β”€ admin          # Admin login & dashboard
   β”œβ”€β”€ candidate      # Candidate registration & management
   β”œβ”€β”€ voter          # Voter registration & voting
   └── result         # Vote counting & result display

πŸ™Œ Author

About

Election Administration System- NetBeans and MySQL

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages