Atria is a smart blood donation platform designed to connect donors, recipients, and hospitals quickly and securely.
It simplifies the donation process, promotes awareness, and ensures timely access to life-saving blood units.
- Real-Time Donor Matching – Instantly find compatible donors based on blood type and location.
- Hospital Coordination – Verified hospitals can request and manage blood donations securely.
- Donor Dashboard – Track donation history, eligibility, and upcoming drives.
- Urgent Request Alerts – Get notified of nearby urgent cases needing immediate help.
- Secure Authentication – Role-based access for donors, recipients, and hospital admins.
- Location-Based Search – Use geolocation to find donors or blood banks nearby.
- Responsive Design – Accessible and user-friendly on all devices.
- Frontend: React.js + Tailwind CSS
- Backend: Node.js + Express.js
- Database: MongoDB
- Authentication: JWT (JSON Web Tokens)
- Deployment: Vercel / Render
-
Install dependencies:
npm install cd backend && npm install
-
Configure environment:
- Create
backend/.envwith:PORT=5001 MONGO_URI=your_mongodb_uri JWT_SECRET=your_secret_key
- Create
-
Start development servers:
# Terminal 1: Backend cd backend && node index.js # Terminal 2: Frontend npm run dev
-
Access the app:
- Local:
http://localhost:5173 - Network: Vite shows your network IP (e.g.,
http://192.168.x.x:5173)
- Local:
Important: Set FRONTEND_URL in your production environment:
FRONTEND_URL=https://yourdomain.comThis ensures QR codes point to your deployed website instead of localhost.