https://github.com/sidheshwarjadhav100/nomineetrack
NomeeniTrack: A Java-based JDBC project to manage election candidate data for the Election Commission of India (ECI).
https://github.com/sidheshwarjadhav100/nomineetrack
arraylist crud-operation database java jdbc maven mysql oop sql
Last synced: about 2 months ago
JSON representation
NomeeniTrack: A Java-based JDBC project to manage election candidate data for the Election Commission of India (ECI).
- Host: GitHub
- URL: https://github.com/sidheshwarjadhav100/nomineetrack
- Owner: sidheshwarjadhav100
- Created: 2024-11-11T18:18:27.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-12-07T16:02:45.000Z (over 1 year ago)
- Last Synced: 2025-03-28T13:13:54.222Z (about 1 year ago)
- Topics: arraylist, crud-operation, database, java, jdbc, maven, mysql, oop, sql
- Language: Java
- Homepage:
- Size: 43.9 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 🗳️ **NomineeTrack**
NomineeTrack is a Java-based Election Commission of India (ECI) project that simplifies candidate data management. It uses JDBC for database connectivity and provides functionalities such as adding, viewing, updating, and deleting candidate records.
---
## ⭐ **Features**
- **Add Candidate**: Insert new candidate information into the database.
- **View Candidates**:
- View all candidates.
- Filter candidates by party, gender, or assembly.
- **Update Candidate**: Modify existing candidate details.
- **Delete Candidate**: Remove a candidate's record based on their ID.
---
## 🛠️ **Tech Stack**
- **Language**: Java
- **Database**: MySQL
- **Database Connectivity**: JDBC
---
## ⚙️ **Prerequisites**
- Java Development Kit (JDK 8 or higher)
- MySQL Database
- IDE (e.g., IntelliJ IDEA, Eclipse) for running the application
- JDBC Driver for MySQL
---
## 🗄️ **Database Setup**
1. Create a database named `ecidb` in MySQL.
2. Execute the following SQL query to create the `candidate` table:
```sql
CREATE TABLE candidate (
cid INT PRIMARY KEY,
name VARCHAR(100),
gender VARCHAR(10),
party VARCHAR(50),
state VARCHAR(50),
assembly VARCHAR(50),
age INT
);
src
├── com.sid.eci.client
│ └── ECI_Client.java # Entry point of the application
├── com.sid.eci.controller
│ └── Controller.java # Handles communication between the client and service layer
├── com.sid.eci.dao
│ └── Dao.java # Handles database operations
├── com.sid.eci.entity
│ └── Candidate.java # POJO class for candidate details
├── com.sid.eci.service
│ └── Service.java # Contains business logic
└── com.sid.eci.utility
└── Utility.java # Provides database connection utility
## ⭐ **Client View Setup**
Welcome to Election Commission Of India
--------------------
| MENU |
--------------------
|1. Insert Candidate |
--------------------
|2. View candidate |
--------------------
|3. Update candidate |
--------------------
|4. Delete candidate |
--------------------
|5. Exit |
--------------------
Enter Choice: