Humanitarian Platform
Hope Link
Hope Link is a full-stack multi-portal platform built to connect NGOs, charities, and volunteers across Lebanon. Three completely isolated role contexts Admin, Charity, and Volunteer run under a single Express server with role middleware enforcing access at the route level. The signature engineering challenge was building a personalized opportunity ranking system that scales: scores are pre-computed by a BullMQ background worker and stored in an indexed junction table, making every paginated request a fast B-tree scan rather than a full table scan.
Next.jsTypeScriptExpressPrismaPostgreSQLSupabaseBullMQRedisSocket.io
// engineering highlights
- →Pre-computed match scoring via BullMQ + Upstash Redis moves expensive work entirely off the request path
- →Family-based JWT refresh token rotation with theft detection revoked token reuse invalidates all sessions in the family
- →Three isolated role contexts (Admin / Charity / User) sharing one Express server with middleware-enforced access
- →Real-time Socket.io chat rooms tied to volunteer application lifecycle created on approval, closed on opportunity end
- →Idempotent score writes via INSERT ... ON CONFLICT DO UPDATE, safe for BullMQ job retries
// architecture explorer
loading diagram...