Scalable Chat Commerce SaaS Architecture
Architecting a scalable conversational commerce engine using Nuxt 3 and Express js to turn standard WhatsApp chats into a fully functional sales channel.
Building a Real Time Commerce Engine
I co-founded and led the development of dichat from the ground up, building and managing the engineering team, driving product decisions, and owning end-to-end delivery of a SaaS commerce platform integrated with WhatsApp. Within 3 months of launch, the platform generated over 100M IDR in revenue.
As the Chief Technology Officer at PT Bisnis sukses dimarketing, I lead the technical development and deployment of our proprietary SaaS web application, dichat.
Ecommerce is shifting rapidly towards conversational commerce. My primary mission for dichat was to architect a robust platform that allows users to shop, checkout, and transact entirely within WhatsApp. Building a chat commerce engine of this scale required an architecture that could handle heavy data loads without failing. We needed a system capable of:
-
Processing real time webhooks from Meta and WhatsApp Business API without dropping requests.
-
Delivering a fast and highly interactive dashboard for merchants while maintaining perfect SEO scores for organic acquisition.
-
Syncing massive product catalogs and live cart data between the web interface and the WhatsApp chat environment seamlessly.
A Decoupled High Performance Tech Stack
As the Lead Architect, I engineered a decoupled architecture using modern JavaScript ecosystems. This setup ensures scalability, security, and fast deployments.
Frontend Architecture with Nuxt 3
I chose Nuxt 3 to ensure the public facing pages and merchant dashboards were both SEO optimized and highly reactive.
-
Leveraged Nuxt Server Side Rendering (SSR) to ensure maximum search engine indexability and instant initial page loads.
-
Utilized Vue 3 Composition API for clean state management across complex merchant dashboard components.
-
Optimizing asset delivery to achieve a perfect 100 Lighthouse performance score.
Backend and API Gateway with Express js
The core engine of the SaaS runs on a lightweight and highly scalable Express js backend.
-
Architected secure asynchronous endpoints to receive, validate, and process real time messages and status updates from Meta servers.
-
Implemented strict rate limiting, secure API routing, and efficient database querying to handle high volume conversational data during peak traffic spikes.
Designed and implemented a scalable multi-tenant architecture ensuring system robustness, performance, and client-level isolation, allowing each merchant to operate in a fully independent environment.
Third-party Platform Integrations
To support end-to-end commerce operations, I developed and maintained core integrations with key platforms our merchants depend on.
-
Midtrans: payment gateway integration for seamless in-chat transactions.
-
JNE and Grab: logistics and delivery API integrations for real-time shipping calculation and order tracking.
WhatsApp Business API Integration
This is the centerpiece of the platform. I fully integrated the WhatsApp Business API to transform standard chats into interactive storefronts.
-
Programmed dynamic lists, reply buttons, and product catalog messages directly into the chat flow.
-
Engineered the logic that syncs web cart data into a seamless WhatsApp checkout experience to reduce cart abandonment rates.
Scalable Conversational Commerce in Action
This architecture successfully bridged the gap between traditional web applications and modern conversational interfaces.
Merchants received a fast and intuitive Nuxt 3 dashboard to manage their catalogs. End consumers enjoyed a frictionless shopping experience purely via WhatsApp. Additionally, the SSR capabilities of Nuxt 3 ensured the SaaS marketing pages ranked quickly to drive organic merchant acquisition.
From a technical standpoint, the Express js backend proved highly resilient. It is capable of processing thousands of concurrent WhatsApp webhooks without latency issues or server crashes.
Throughout all deployments, maintaining high system reliability and consistency remained a core engineering priority. The architecture was designed with flexibility in mind, enabling different client use cases without compromising stability or performance.
Key Takeaways
Building a Chat Commerce SaaS requires more than just API connections. It demands a holistic approach to system architecture. By decoupling a high performance Nuxt 3 frontend from a robust Express js backend, we built a digital ecosystem that is search optimized and powerful enough to redefine the conversational shopping experience.
