Skip to content

A streamlined electoral system powered by a SQL database and Python. It processes electoral data, performs calculations, and generates final results through a Flask-based web interface.

Notifications You must be signed in to change notification settings

LadishDev/Electoral-System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Electoral Database System

A electoral system with a SQL database that performs caculations on the data to provide final results

📔 Table of Contents

🌟 About the Project

Database

🎨 Color Reference

Color Hex
Primary Color #bb38db #bb38db
Secondary Color #393E46 #393E46
Accent Color #00ADB5 #00ADB5
Text Color #EEEEEE #EEEEEE

🔑 Environment Variables

To run this project, you will need to add the following environment variables to your .env file

DB_USER

DB_PASS

🧰 Getting Started

‼️ Prerequisites

  • Install MySQL Server Here
sudo dnf install mysql-community-server
sudo dnf install python

⚙️ Installation

Flask

pip install flask

mysql-connector

pip install mysql-connector-python

🏃 Run Locally

Clone the project

https://github.com/LadishDev/Electoral-System

Go to Project Directory

cd Electoral-System

Setup MySQL server with Scheme and data

mysql -uladish -p < /Documents/Electoral-System/sql-commands.sql

Start the python script to calculate results and host web server

python .\electoral-system.py

⚠️ License

Distributed under the no License. See LICENSE.txt for more information.

🤝 Contact

Callum - [email protected]

Project Link: https://github.com/LadishDev/Electoral-System

About

A streamlined electoral system powered by a SQL database and Python. It processes electoral data, performs calculations, and generates final results through a Flask-based web interface.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published