It's a Flask web application to manage blood donors, record blood donations and check donor eligibility using the 56-day rule. The app provides an interactive dashboard, donor search and real-time eligibility tracking, built with Python, Flask, SQLite, HTML and Tailwind CSS.
- Total donors, total donations, eligible donors count
- Recent donation history and blood group-wise statistics
- Register new donors
- Search and filter by blood group or name
- Calculate age and check eligibility automatically
- Record new donations with date, units, and notes
- Auto-validate eligibility (56-day gap between donations)
- Shows who is eligible or not eligible to donate
- Displays next possible donation date for each donor
- Uses SQLite for easy, file-based data storage
- Automatically initializes all required tables
- Backend -> Python (Flask Framework)
- Frontend -> HTML, Tailwind CSS, Jinja Templates
- Database -> SQLite3
git clone https://github.com/yourusername/blood-donation-tracker.git
cd blood-donation-tracker
python -m venv venv
- Windows:
venv\Scripts\activate
- macOS/Linux:
source venv/bin/activate
pip install -r requirements.txt
python app.py
Then open your browser and visit:
http://127.0.0.1:5000/