Build 06 · Epsitech Product · Multi-Tenant SaaS Booking Platform

RESERVASI ONLINE

Multi-tenant SaaS booking platform built and operated under Epsitech for merchant onboarding, tenant-isolated scheduling, and predictable self-hosted cloud operations.

Role
Founder & Systems Architect · Epsitech
Timeline
2025–2026
Focus
Epsitech Product
Location
Jakarta, Indonesia
Edge & TLS
Caddy On-Demand TLS + App Domain Verification
Async Runtime
Decoupled BullMQ Email & WAHA WhatsApp Workers
Orchestration
Docker + Dokploy Self-Managed Cloud
build://06-reservasi-online
epsitech.id
Reservasi Online multi-tenant SaaS booking platform showcase

01 / Overview

Reservasi Online powers booking workflows for Indonesian service merchants without forcing them into bloated enterprise suites. Every tenant runs on clean domain routing, isolated scheduling state, and automated operational deployments.

02 / System Architecture Blueprint

Select a layer to inspect
Layer 01 · EDGE
Reverse Proxy & TLS
Caddy On-Demand TLS Cloudflare DNS

Caddy reverse proxy & automatic on-demand TLS routing

  • Issues TLS certificates on demand for tenant custom domains after validating via /api/domain/verify.
  • Separates production and staging gateway routing cleanly over Dokploy/Traefik networks.

03 / Engineering Decisions & Trade-offs

On-demand TLS guarded by an internal domain verification endpoint
Choice: Caddy on_demand_tls.ask validating against /api/domain/verify

Issuing certificates blindly exposes the proxy to abuse and infinite-loop routing. App-level token validation ensures only verified tenant domains receive automated TLS.

Splitting notification workers out of the Next.js request lifecycle
Choice: Dedicated BullMQ/Redis email worker and isolated WAHA WhatsApp service

Booking confirmations and WhatsApp messages shouldn't block HTTP booking responses or crash the web process on upstream retries.

04 / Technical Notes

Architecture I Actually Run in Production

Reservasi Online was designed architecture-first under Epsitech so Indonesian service merchants can launch clean booking storefronts on custom domains without enterprise bloat.

System Boundaries

  1. Edge: A dedicated Caddy gateway handles per-tenant custom domains using on_demand_tls gated by an application verification endpoint.
  2. Services: The Next.js core app stays lean while BullMQ notification workers and a localhost-bound WAHA WhatsApp worker handle async messaging.
  3. Data & Ops: PostgreSQL holds tenant-scoped records, Redis drives job retries, and Docker + Dokploy orchestrate repeatable deployments.

05 / Stack & Outcome

Unified merchant onboarding, automated TLS subdomain routing, and repeatable zero-downtime container deployments.

TypeScriptNext.jsPostgreSQLRedis / BullMQDockerDokployCaddy

Have Idea for project?

Got some idea and want to realize it?

Contact.