https://github.com/abhisheksinghf/blockchain-based-voting-system
A Next24Tech Internship Task
https://github.com/abhisheksinghf/blockchain-based-voting-system
Last synced: 2 months ago
JSON representation
A Next24Tech Internship Task
- Host: GitHub
- URL: https://github.com/abhisheksinghf/blockchain-based-voting-system
- Owner: abhisheksinghf
- Created: 2024-05-21T16:33:18.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-07-15T11:10:32.000Z (over 1 year ago)
- Last Synced: 2024-07-15T13:12:52.904Z (over 1 year ago)
- Language: TypeScript
- Size: 2.19 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 🗳️ Blockchain-Based Voting System
## Overview
A decentralized voting system using blockchain technology to ensure transparency and security. The system comprises two modules: **Admin** and **Voter**. Voters can create accounts but need verification to vote. Admins can create polls, manage elections, and more.
## Tech Stack
- **TypeScript**
- **Solidity**
- **React**
- **Ganache**
- **MySQL**
## Features
- **📝 Voter Registration and Verification**: Voters must create an account and wait for verification before voting.
- **📊 Admin Poll Management**: Admins can create and end elections.
- **🔐 Secure Voting**: Voters can only vote once per election.
- **📈 Real-time Results**: Live tracking of votes during the election.
- **🛡️ Immutable Records**: Ensures votes cannot be tampered with.
- **📅 Election Scheduling**: Schedule elections for specific dates and times.
## Project Structure
### 🛠️ Admin Module
- Create Polls
- End Elections
- Verify Users
### 👥 Voter Module
- Create Account
- Login
- Vote in Verified Polls
## Installation
1. **📥 Clone the repository**
```bash
git clone https://github.com/your-repo/blockchain-voting-system.git
cd blockchain-voting-system
```
2. **📦 Install Dependencies**
```bash
npm install
```
3. **🛠️ Start Ganache**
```bash
ganache-cli
```
4. **🔨 Compile and Deploy Contracts**
```bash
truffle compile
truffle migrate
```
5. **🚀 Start the Application**
```bash
npm start
```
## Usage
1. **🏠 Landing Page**

2. **🆕 Create Account**


3. **🔐 Login**

4. **⛔ Unverified User Login Attempt**

5. **👤 Profile and Logout**

6. **📅 Admin Creates Poll**


7. **🛑 Admin Ends Election**

8. **🗳️ Voting Process**

9. **✅ Admin Verifies Users**

## Thank you 💖