BloodCare is a project designed to streamline the management of blood donation and transfusion processes. It aims to ensure that blood is available for those in need while facilitating communication between donors, recipients, and healthcare providers.
- User Registration: Allows users to sign up as donors or recipients.
- Donation Management: Manages the scheduling and tracking of blood donations.
- Transfusion Requests: Facilitates requests for blood transfusions and manages their status.
- Alerts and Notifications: Sends notifications to donors about upcoming donation dates.
- Statistics Dashboard: Provides insights into donation trends and needs.
- Frontend: React, Vite, React Router
- Backend: Node.js, Express, Socket.io
- Database: PostgreSQL
- Authentication: JWT, bcrypt
Contributions are welcome. To contribute:
- Fork the repository.
- Create a feature branch.
- Make your changes and test them locally.
- Commit with a clear message.
- Open a pull request.
- Live Map Integration: Implementing Map APIs to show live locations of hospitals and blood banks for donors.
- Geofencing: Sending push notifications to donors only when they are within a specific radius of a requesting hospital.
- Automated Matching: AI-driven matching based on donor eligibility windows and geographical proximity.
- Mobile Application: Developing a dedicated mobile app for faster alerts and GPS tracking.
- Install dependencies:
cd backend && npm install
cd ../frontend && npm install- Create backend env file at
backend/.env:
PORT=5000
DATABASE_URL=postgresql://postgres:postgres@localhost:5432/bloodbank
JWT_SECRET=your_jwt_secret- Create frontend env file at
frontend/.env:
VITE_API_URL=http://localhost:5000- Run backend:
cd backend
npm start- Run frontend:
cd frontend
npm run devISC