All-in-one portal for Blood Donation 🩸
It helps people in emergency to find donors quicker
Report Bug
·
Request Feature
-
Creating Donors
-
Looking for Donors
-
Raising Request Tickets
-
Sorting Request Tickets
-
Notification system for new Requests
-
Flask
-
React
-
Google Cloud Platform (GCP)
-
Django (added later, has the same functionalities)
This project contains the APIs built for HACKNPITCH
, a hackathon conducted by Jadavpur University
. We worked on the Blood Bank
problem statement.
The entire code is later on refactored and implemented using Django Rest Framework (DRF)
.
The previous flask code is moved into flask
folder.
-
Clone the repository and go to
django
folderhttps://github.com/debdutgoswami/blood-bank.git cd blood-bank/django
-
Setup virtual environment and install the dependencies
python3 -m venv env source env/bin/activate pip install -r requirements.txt
-
Configuration for using Django
PointField
(from django.contrib.gis.db.models import PointField
) inmodels.py
sudo apt-get install binutils libproj-dev gdal-bin sudo apt-get install libsqlite3-mod-spatialite
-
Run migrations
python manage.py makemigrations core python manage.py migrate
-
Create a
.env
file using thesample.env
-
Run the server
python manage.py runserver
-
Clone the repository and go to
flask
folderhttps://github.com/debdutgoswami/blood-bank.git cd blood-bank/flask
-
Setup virtual environment and install the dependencies
python3 -m venv env source env/bin/activate pip install -r requirements.txt
-
Run the server
python app.py