BloodHub is a database schema designed to manage information related to blood donation, donors, hospitals, and blood recipients. The system facilitates the tracking of blood donations, including details about donors, donation amounts, donation dates, hospitals, and blood recipients.
-
Clone the repository.
-
Install dependencies and enter the virtual environment:
pipenv install && pipenv shell
-
Initialize migrations
alembic init migrations
-
Edit
alembic.ini
filesqlalchemy.url = your_db_connection_string
-
Edit
env.py
to import Base and set target_metadata -
Create and upgrade models using:
alembic revision --autogenerate -m "message" alembic upgrade head
- Python
- SQLAlchemy
- Alembic
- Faker
Feel free to contribute by opening issues or pull requests.
This project is licensed under the terms of the MIT license. See the License file for details.