Case studyBlood Donation Community
Bloodaidbd
A platform for Bangladesh where people find blood donors by district, post emergency requests, and join local communities. Volunteers and admins moderate the content.
Own projectLead Full-Stack
bloodaidbd.com
01
Overview
- Type
- Blood Donation Community
- Role
- Lead Full-Stack
- Ownership
- Own project
- Year
- 2026 – Running
- Live
- bloodaidbd.com
02
The problem
Urgent blood requests in Bangladesh usually move through Facebook groups and forwarded phone numbers. Because those posts are not filtered by location, a request in one district reaches people far away who cannot donate in time.
03
What I built
- 01Guest donor search filtered by division, district, upazila, and blood group without requiring login
- 02Emergency blood request feed ranked by urgency, location, and engagement
- 031:1 and community real-time chat with Socket.IO plus optional Web Push notifications
- 04Volunteer and admin moderation tools for handling reports and verifying campaigns
- 05Custom JWT access tokens + HttpOnly refresh cookies proxied through Next.js rewrites, with Cloudflare R2 uploads
04
A hard part I solved
Login across two domains. I used short-lived JWT access tokens with HttpOnly refresh cookies, and proxied the API and WebSocket traffic through Next.js rewrites so sessions work safely.
05
Stack
- Next.js 15
- TypeScript
- Nest.js
- Prisma
- PostgreSQL
- Socket.IO
- Cloudflare R2
- PWA
