Octavia Core Service

// It is a multi-tenant microservices-based platform that provides essential services such as notifications, payments, accounting, user management, API keys, brand, and tenant management.

4/26/2025

Overview:
Octavia Core Service is the backbone of the Octavia SaaS ecosystem. It is a multi-tenant microservices-based platform that provides essential services such as notifications, payments, accounting, user management, API keys, brand, and tenant management. The core ensures scalability, modularity, and secure data isolation for different businesses integrating with Octavia products.

My Role:

  • Designed and implemented the backend architecture with Node.js and TypeScript, following domain-driven microservice patterns.

  • Designed the frontend architecture to integrate with the core APIs, focusing on modularity and scalability (React, Next.js, Micro-Frontend).

  • Developed backend services including:

    • Notification Service: email, SMS, in-app, and Kafka-based event processing.

    • Payment Service: subscription lifecycle, invoicing, promo codes, free trials, integration with gateways.

    • Accounting Service: double-entry ledger, balance tracking, transaction history, reporting.

    • User & API Key Management: OAuth2/JWT authentication, scoped API keys with HMAC signing.

    • Tenant & Brand Management: full multi-tenant support with tenant-level isolation and brand-based configuration.

  • Built gateway layer for routing, authentication, and request isolation (x-tenant-id, x-user-id, x-brand-id).

  • Applied i18n support across services for multi-language capabilities.

  • Ensured observability with structured logging, metrics, and tracing.

Technologies:
Node.js, TypeScript, Express/NestJS, PostgreSQL (ledger & accounts), MongoDB (metadata), Redis (cache, sessions), Kafka (events), Docker, Kubernetes, Nginx, Vault/KMS, React, Next.js, Tailwind CSS, Shadcn/UI, i18n

Challenges & Achievements:

  • Designed a multi-tenant core architecture supporting isolation and scalability for thousands of tenants.

  • Implemented event-driven communication via Kafka for decoupled services (notifications, payments, accounting).

  • Built idempotent, API-first services with OAuth2 and API key authentication for secure third-party integration.

  • Delivered a modular core where new services (e.g., billing, reporting, AI features) can be added without impacting existing ones.

  • Unified notifications and payments with accounting to create a reliable and auditable core foundation.

Back to Projects
© 2026 Alex Yaghoubi - All Rights Reserved
<_AlexYaghoubi />