Portfolio logo
CRM System.tsx
Professional ExperienceBusiness System

Multi-Tenant CRM System with Automation, Campaign Engine & Real-Time Communication

A complex, multi-tenant CRM platform built for real estate workflows, featuring campaign automation, real-time communication, and workspace-based architecture.

Multi-tenant CRM with automation and real-time communicationFull-stack developer (focused on authentication, campaign systems, and real-time features)

Key highlights

  • Multi-tenant architecture with workspace isolation
  • Campaign automation with queue-based processing
  • Real-time communication (chat + notifications)

Primary stack

React (Redux for complex state management, shadcn UI, Framer Motion)

Node.js (modular APIs, background job processing)

Data layer

MongoDB

System Preview

System preview 1
System preview 2
System preview 3
System preview 4

Problem

Real estate businesses require more than basic CRMs — they need multi-tenant systems, automated follow-ups, contract workflows, and centralized communication to manage leads, clients, and transactions efficiently.

Solution

Contributed to the development of a scalable CRM platform with multi-tenant architecture (workspace + subdomain-based isolation), automation pipelines, and real-time features. Focused on building core modules, authentication flows, and campaign automation systems.

Features

Capabilities & System Features

Security & Auth
Authentication system with access & refresh tokens
Role-based permission system with strict workspace isolation
Document storage with secure AWS S3 integration
Real-time
Real-time chat and notification system
Data & Storage
Bulk data import for efficient lead and client onboarding
Users & Tenancy
Multi-tenant architecture with workspace-based subdomains
Automation & Jobs
Automated and manual email campaign engine with dynamic templates
Follow-up system (email, SMS-ready architecture)
API & Integration
DocuSign integration for digital contract signing
Core
Lead, client, realtor, and property management modules
Transaction workflow management with contract handling
Analytics and activity tracking dashboards

Engineering challenges

Complex problems solved

01

Subdomain-Based Authentication & Cookie Isolation

Problem

The application uses a multi-tenant architecture where users log in from a root domain (e.g., abc.com) and are redirected to workspace-specific subdomains (e.g., xyz.abc.com). However, authentication tokens stored in cookies were not accessible across subdomains during local development, causing session loss after login.

Solution

Identified that cookies require a shared domain scope and that localhost does not support subdomain-level testing due to the lack of a dot in the domain. Solved this by using lvh.me, which maps to localhost and supports wildcard subdomains. This enabled proper cookie sharing across dynamic subdomains and allowed accurate simulation of production multi-tenant behavior during development.

02

Scalable Campaign Processing with Queue Workers

Problem

Campaigns required scheduled, high-volume email processing with support for dynamic templates, delays, intervals, and user-specific SMTP configurations. Running this synchronously would block the system and reduce reliability.

Solution

Implemented a queue-based architecture using BullMQ with Redis to handle campaign execution asynchronously. Designed workers to process scheduled jobs, handle retries, and ensure reliable delivery without blocking the main application.

Architecture

System structure

Frontend

React (Redux for complex state management, shadcn UI, Framer Motion)

Backend

Node.js (modular APIs, background job processing)

Database

MongoDB

Auth

Secure authentication with session management

Realtime

Redis (ioredis) for chat, notifications, and caching

Jobs

BullMQ (queue-based processing with Redis)

Infrastructure

Docker (Redis container setup)

Storage

AWS S3 (encrypted document storage)

Tenancy

Subdomain-based multi-tenancy (workspace isolation)

Technologies

Tooling used

ReactReduxNode.jsMongoDBBullMQAWS S3JWTDocuSignFramer Motionshadcn/ui

Building something complex?

I design and build scalable systems like this — from architecture to production-ready implementation.

Talk about your system