Back to Portfolio

Bagdja: Overarching Microservices Infrastructure Ecosystem

An enterprise-grade, integrated microservices infrastructure ecosystem designed as the foundational core for deploying diverse software product lines. It provides centralized, highly scalable core services including Single Sign-On (SSO), an immutable financial ledger, and a high-performance event-driven hub.

August 18, 2026
0 views
 1
 2
 3
 4
 5
 6
 7
 8
 9

An enterprise-grade, integrated microservices infrastructure ecosystem designed as the foundational core for deploying diverse software product lines. It provides centralized, highly scalable core services including Single Sign-On (SSO), an immutable financial ledger, and a high-performance event-driven hub.

Description

Bagdja is not a standard application or a standalone Platform as a Service (PaaS); it is an overarching developer microservices application delivery ecosystem. Engineered with a strict "Platform-First" principle, all end-user products—such as Point of Sale (POS) systems, Website Builders, digital wallets, and marketplaces—are built on top of a centralized, reusable layer of Core Services.

This architectural approach eliminates business logic duplication across applications and ensures consistent security, identity, and scalability standards across the entire product suite.

The Core Services Suite: To support the ecosystem, I architected and developed a suite of dedicated, independent microservices:

  • bagdja-auth & bagdja-login: The central identity provider handling Single Sign-On (SSO), JWT issuance, and machine-to-machine API authorization.
  • bagdja-payment-service & bagdja-pay-web: The unified financial ledger and checkout UI handling wallets, multi-layered escrow primitives, payouts, recurring subscriptions, and licensing. (Fully supports the internal platform currency, BP).
  • bagdja-event-service: The real-time, event-driven communication backbone handling cross-service messaging via Redis Pub/Sub, RabbitMQ, WebSockets, and asynchronous webhooks.
  • bagdja-log-service: A centralized telemetry and audit log system utilizing standardized trace IDs for seamless cross-service debugging.
  • bagdja-messaging-service: An asynchronous notification engine responsible for distributing emails and system alerts.
  • bagdja-assets & bagdja-storage-service: A dual-track storage architecture managing public graphical assets and high-volume, application-driven object storage via Cloudflare R2.
  • bagdja-console: The centralized admin platform for managing the entire ecosystem.

Key Architectural Highlights:

  • Centralized Identity & Trust: Implemented an "account picker" pattern utilizing OAuth2 PKCE to securely bridge access between web applications, mobile apps, and machine-to-machine APIs via custom SDK guards.
  • Immutable Ledger Engine: Transactions are secured against race conditions using strict database pessimistic locking, acting as the single source of truth for all financial movements.
  • Strict Database Management: Database schemas are rigorously managed via Supabase CLI migrations, enforcing data integrity and preventing ORM auto-sync discrepancies in production.

Tech Stack:

  • Backend: Node.js, NestJS, TypeORM
  • Frontend & Mobile: Next.js, React Native, Flutter
  • Database & Infrastructure: Supabase (PostgreSQL), Redis, RabbitMQ, Cloudflare R2
  • Third-Party Integrations: Midtrans, Duitku, Google OAuth, Zoho SMTP

Bagaimana menurutmu? Dengan rincian The Core Services Suite ini, perekrut atau klien teknis (Engineering Manager / CTO) akan langsung paham seberapa luas dan dalam skala sistem yang kamu bangun.

🛠️Technologies Used

ReactNext.jsNest.JsSupabaseCICDBullMqRedis
https://console.bagdja.com/

Project Details

Created:August 18, 2026
Views:0
Priority:#1

About the Developer

Nandang Hermawan

Nandang Hermawan

Senior Fullstack Developer

Full Stack Developer with over 9 years of experience leading technical projects from concept to deployment. Skilled in both backend and frontend development, I enjoy collaborating with cross-functional teams to deliver solutions that drive real business value.