Skip to content

ananyaa0518/BloodCare

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BloodCare

Overview

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.

Features

  • 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.

Tech Stack

  • Frontend: React, Vite, React Router
  • Backend: Node.js, Express, Socket.io
  • Database: PostgreSQL
  • Authentication: JWT, bcrypt

Contributing

Contributions are welcome. To contribute:

  1. Fork the repository.
  2. Create a feature branch.
  3. Make your changes and test them locally.
  4. Commit with a clear message.
  5. Open a pull request.

Future Enhancements

  • 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.

Setup

  1. Install dependencies:
cd backend && npm install
cd ../frontend && npm install
  1. Create backend env file at backend/.env:
PORT=5000
DATABASE_URL=postgresql://postgres:postgres@localhost:5432/bloodbank
JWT_SECRET=your_jwt_secret
  1. Create frontend env file at frontend/.env:
VITE_API_URL=http://localhost:5000
  1. Run backend:
cd backend
npm start
  1. Run frontend:
cd frontend
npm run dev

License

ISC

About

Healthcare web app streamlining blood donation requests, donor matching, and hospital coordination.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors