AI-Powered Blood Donation Platform for Thalassemia Patients in India
ThalaConnect is a comprehensive, mobile-first platform that connects Thalassemia patients with life-saving blood donors through AI-powered matching, personalized education, and community support. Built by Blood Warriors to address the critical challenges faced by Thalassemia patients in accessing timely blood transfusions.
- Real-time Prediction: AI algorithms predict donor availability using geolocation and donation history.
- Smart Matching: 98% accuracy in matching patients with compatible donors.
- Urgency-based Prioritization: Critical cases get priority matching.
- Distance Optimization: Find the nearest available donors.
- DPDPA Compliant: Adheres to India's Digital Personal Data Protection Act.
- Role-based Access: Separate interfaces for patients, donors, and healthcare providers.
- Encrypted Communication: Secure messaging between all parties.
- Verified Users: Trust badges and verification system.
- Adaptive Learning: Content tailored to literacy level and treatment history.
- Interactive Modules: Engaging courses on Thalassemia management.
- Progress Tracking: Monitor learning journey with achievements.
- Expert Content: Medical information reviewed by healthcare professionals.
- Donor Recognition: Points, badges, and leaderboards.
- Community Support: Patient forums and support groups.
- Achievement System: Motivational rewards for engagement.
- Success Stories: Inspiring patient and donor testimonials.
- Emergency Requests: One-click emergency blood assistance
- Appointment Scheduling: Seamless coordination with healthcare providers.
- Donation Tracking: Complete history of donations and transfusions.
- Integration Ready: Compatible with e-RaktKosh and Blood Bridge APIs.
- Node.js 18.17 or later
- npm 9.0 or later
- Git (for cloning)
-
Clone the repository ```bash git clone https://github.com/krishna2426/ThalaConnect.git cd thalaconnect ```
-
Install dependencies ```bash npm install ```
-
Set up environment variables ```bash cp .env.example .env.local
```
-
Run the development server ```bash npm run dev ```
-
Open your browser ``` http://localhost:3000 ```
- Register as a patient with medical details.
- Complete Profile with blood type and location.
- Find Donors using AI-powered matching.
- Schedule Appointments with healthcare providers.
- Learn & Grow through personalized education modules.
- Connect with the community for support.
- Sign Up as a blood donor.
- Verify Profile for trust and safety.
- Set Availability and donation preferences.
- Respond to Requests from patients in need.
- Earn Recognition through the gamification system.
- Track Impact of your donations.
- Register with medical credentials.
- Manage Patients and appointment schedules.
- Coordinate Care with other providers.
- Access Resources for better patient management.
- Contribute Content to the education platform.
- Next.js 14 - React framework with App Router.
- TypeScript - Type-safe development.
- Tailwind CSS - Utility-first styling.
- shadcn/ui - Modern UI components.
- Lucide React - Beautiful icons.
- RESTful APIs - FHIR-compliant endpoints.
- Authentication - JWT-based security.
- Database - PostgreSQL/MongoDB ready.
- Real-time - WebSocket support for notifications.
- Machine Learning - Donor matching algorithms.
- Geolocation - Location-based services.
- Predictive Analytics - Availability forecasting.
- Personalization - Content recommendation engine.
``` thalaconnect/ โโโ app/ # Next.js App Router pages โ โโโ (auth)/ # Authentication pages โ โโโ dashboard/ # User dashboards โ โโโ donors/ # Donor discovery โ โโโ education/ # Learning platform โ โโโ community/ # Social features โ โโโ layout.tsx # Root layout โโโ components/ # Reusable UI components โ โโโ ui/ # shadcn/ui components โ โโโ custom/ # Custom components โโโ lib/ # Utility functions โโโ hooks/ # Custom React hooks โโโ types/ # TypeScript definitions โโโ public/ # Static assets โโโ styles/ # Global styles ```
Create a .env.local file in the root directory:
```env
NEXT_PUBLIC_APP_URL=http://localhost:3000 NEXT_PUBLIC_APP_NAME=ThalaConnect
```bash
npm run build
npm start ```
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
- ESLint for code linting
- Prettier for code formatting
- TypeScript for type safety
- Conventional Commits for commit messages
- Core platform development.
- AI donor matching algorithm.
- User authentication system.
- Basic education modules.
- Community features.
- Real-time notifications.
- Advanced AI features.
- Mobile app development.
- Healthcare provider integrations.
- Multi-language support.
- Telemedicine integration.
- Financial assistance module.
- Advanced analytics dashboard.
- Blockchain audit trails.
- IoT device integration.
- Machine learning optimization.
- Predictive health analytics.
- Government system integration.
- International expansion.
- Research collaboration platform.
This project is licensed under the MIT License - see the LICENSE file for details.
- Blood Warriors - Founding organization.
- Thalassemia Patients - For their invaluable feedback.
- Healthcare Providers - For medical expertise.
- Open Source Community - For the amazing tools and libraries.
- Donors - The real heroes saving lives every day.
Connecting lives, one donation at a time