
Ruang Diri — Mental Health Platform
Web DevelopmentProject Overview
Ruang Diri is a production mental health counseling platform connecting clients (students, employees, and the general public) with professional psychologists for online counseling, mental health screening, and real-time chat. I delivered the project end-to-end as a paid freelance engagement for Jasa Raharja between December 2025 and April 2026 — owning architecture, backend, frontend, infrastructure, and deployment to production.
My Role & Impact
End-to-end ownership. Architected and shipped the platform from zero — backend modules, frontend flows, database schema, infrastructure, and CI/CD.
Real production outcome. Live at ruangdiri.vercel.app serving real users from corporate and educational organizations.
Multi-tenant SaaS. Designed organization-scoped quotas, custom branding, and role-based access control across 6 distinct user types.
Production reliability. Containerized with Docker, deployed to Google Cloud Run, async work via BullMQ + Redis, file uploads via Google Cloud Storage with signed URLs.
Application Gallery






Technical Implementation
Architecture. Clean Architecture with DDD — Interfaces, Application, Domain, and Infrastructure layers. Each feature module is self-contained and testable.
Authentication. Multi-role JWT auth via Passport.js. Role-based guards and decorators enforce RBAC at every protected route.
Database. PostgreSQL with Drizzle ORM for type-safe queries and zero-downtime migrations. 20+ tables modeling counseling, scheduling, chat, and tenancy.
Real-time. Ably + Socket.io power 1-on-1 chat with file uploads, typing indicators, read receipts, and presence tracking.
Background work. BullMQ + Redis run async jobs — email queue, push notification fan-out, and scheduled session reminders.
Deployment. Multi-stage Docker builds, pushed to Google Artifact Registry, deployed to Cloud Run. Frontend hosted on Vercel.
Technologies Used
backend
frontend
realtime
infra
services
Key Features Shipped
See it in production
The platform is live and serving real organizations. Explore the homepage, services, and authentication flow on the deployed site.
Visit ruangdiri.vercel.app