A webβbased Blood Bank Management System built with Django that helps users find and request blood, manage donor information, and simplify blood inventory tracking. This project aims to streamline the blood donation process by providing a userβfriendly platform.
Demo (Live): [Demo Link (https://bloodbank-project.onrender.com/ )]
- π§βπ€βπ§ Register as a Donor
- π©Έ Search Available Blood Types
- π Request for Blood
- ποΈ Admin Panel for Managing Donors and Requests
- π» Frontend: HTML, CSS, JavaScript
- βοΈ Backend: Django (Python) + SQLite (local) / PostgreSQL (Render)
| Layer | Technology |
|---|---|
| Frontend | HTML, CSS, JavaScript |
| Backend | Django (Python) |
| Database | SQLite (local) / PostgreSQL (Render) |
| Deployment | Render (via render.yaml) |
BBMS-github/
βββ mysite/ # Main Django project folder
β βββ settings.py
β βββ urls.py
β βββ wsgi.py
β
βββ polls/ # App: business logic and views
β βββ admin.py
β βββ models.py
β βββ views.py
β βββ urls.py
β βββ templates/
β
βββ static/ # Static assets (CSS, JS, images)
βββ staticfiles/ # Collected static files for deployment
βββ templates/ # Shared HTML templates
βββ db.sqlite3 # SQLite database (local only)
βββ manage.py # Django CLI
βββ render.yaml # Render deployment configuration
βββ requirements.txt # Python dependencies
βββ README.md # Project documentation
- Fork/Clone this repository
- Connect your repo to Render
- Render will autoβdetect the
render.yamland set up your web service and database. - Set the following environment variables in Render Dashboard:
CLOUDINARY_CLOUD_NAMECLOUDINARY_API_KEYCLOUDINARY_API_SECRETSECRET_KEY(autoβgenerated or set your own) βDEBUG(set toFalsefor production)
- Deploy! Render will run migrations and collect static files automatically.
- Clone the repository:
git clone https://github.com/varshitha127/Bloodbank_Project.git cd Bloodbank_Project - Create a
.envfile in the project root (for local environment variables):DEBUG=True SECRET_KEY=your-local-secret-key CLOUDINARY_CLOUD_NAME=your_cloud_name CLOUDINARY_API_KEY=your_api_key CLOUDINARY_API_SECRET=your_api_secret DATABASE_URL=sqlite:///db.sqlite3
- Install dependencies:
pip install βr requirements.txt
- Run migrations and start the server:
python manage.py migrate python manage.py runserver
- SECRET_KEY: Django secret key (autoβgenerated on Render or set locally)
- DEBUG: Set to
Falsein production (Render) orTruelocally - CLOUDINARY_CLOUD_NAME, CLOUDINARY_API_KEY, CLOUDINARY_API_SECRET: For media storage (Cloudinary)
- DATABASE_URL: Provided by Render (PostgreSQL) or use SQLite locally
Contributions are welcome! Please fork the repository, create a new branch (e.g., git checkout βb feature/your-feature), commit your changes, and then push your branch (e.g., git push origin feature/your-feature). Then, open a Pull Request.
This project is licensed under the MIT License β see the LICENSE file for details.




