Platform Module

API Gateway Secure Traffic Management

A comprehensive REST API that lets you automate every aspect of your cloud infrastructure — from ordering and provisioning to billing and support. 7 microservices, one unified gateway.

Overview

One entry point, zero complexity

The API Gateway is the single front door to the entire Cloud Control Platform. Every request — whether from a customer portal, admin dashboard, or third-party integration — enters through one secure endpoint. The gateway handles authentication, rate limiting, TLS termination, and intelligent routing so your services never have to.

Secure by Default

TLS 1.3, HSTS, CSP, CORS, and rate limiting enforced at the edge. Security headers applied before traffic reaches any service.

Intelligent Routing

Requests are authenticated, validated, and routed to the correct microservice — with circuit breakers and graceful fallbacks built in.

120+

REST Endpoints

7

Microservices

30+

Kafka Topics

<50ms

Gateway Latency

Microservices

8 services, one platform

Each microservice owns its domain, data, and API surface. The gateway unifies them into a single, coherent developer experience.

API Gateway

api.cloudfactory.com

Identity

User management, JWT + MFA authentication, OAuth2 (Google, GitHub, Microsoft), RBAC, API keys

24 endpoints

Products

Product catalog with full-text search, category filtering, and pricing plans

18 endpoints

Orders

Order lifecycle management with saga pattern for distributed transactions

16 endpoints

Provisioning

Automated infrastructure deployment to OpenStack and OpenShift with real-time status

22 endpoints

Billing

Invoicing, subscriptions, usage-based rating, PDF generation, and payment processing

20 endpoints

Notifications

Email templates (Handlebars), WebSocket real-time alerts, and notification preferences

12 endpoints

Support

Ticketing system with internal/public comments, SLA tracking, and agent assignment

14 endpoints

Reports

Revenue analytics, usage reports, resource utilization dashboards, and exportable CSV/PDF summaries

10 endpoints
Enterprise Grade

Built for production

Every pattern and safeguard you need to run API-first infrastructure at scale.

120+ REST Endpoints

Comprehensive coverage across 7 services. Every platform capability accessible via a clean, versioned API.

Event-Driven Architecture

30+ Kafka topics power real-time workflows. Orders trigger provisioning, provisioning triggers billing — automatically.

Idempotent Operations

Safe retries with Idempotency-Key headers. Network failures never cause duplicate orders or double charges.

Multi-Tenant Isolation

Every request scoped to your organization. Data boundaries enforced at the API layer, not just the database.

Intelligent Rate Limiting

Per-route limits tuned to usage patterns. Login: 300/min, Register: 120/min, General: 30 req/s.

Circuit Breakers

Graceful degradation when downstream services are unavailable. Automatic recovery with configurable thresholds.

Security

Security first

httpOnly Cookies

Authentication via httpOnly cookies — no tokens exposed to JavaScript, immune to XSS token theft.

OAuth2 Integration

Google, GitHub, and Microsoft SSO out of the box. Extensible to any OIDC-compliant provider.

Service-to-Service Auth

Internal API calls authenticated with service credentials. Zero-trust between microservices.

Security Headers

CORS, CSP, HSTS, X-Frame-Options, and rate limiting enforced at the gateway level.

Input Validation

Every endpoint validated via class-validator. Malformed requests rejected before reaching business logic.

TLS 1.2/1.3

All traffic encrypted in transit. HSTS enforcement with long max-age. No downgrade attacks.

Documentation

Interactive Swagger docs

Every service ships with auto-generated OpenAPI documentation. Try endpoints directly from the browser, inspect schemas, and generate client code in any language.

OpenAPI 3.0
/docs/identityAuthentication & User Management
/docs/productsProduct Catalog
/docs/ordersOrder Processing
/docs/provisioningInfrastructure Automation
/docs/billingInvoicing & Subscriptions
/docs/notificationsAlerts & Emails
/docs/supportTicketing
/docs/reportsAnalytics & Exports
8 services online
126 endpointsOpenAPI 3.0
Architecture

Request lifecycle

Every API call passes through multiple layers of validation, authentication, and routing before reaching business logic.

Client Request

HTTPS / TLS 1.3

Gateway

Rate Limit + CORS

Auth Layer

Cookie / API Key

Router

Path → Service

Microservice

Business Logic

Event Bus

Kafka Topics

Start building with the API

Get access to 120+ endpoints, interactive documentation, and client SDKs. Automate your entire cloud infrastructure.

FAQ

Common Questions

The gateway validates httpOnly session cookies on every request and injects tenant context into upstream service calls. For machine-to-machine communication, API keys with scoped permissions are supported. OAuth2 flows (Google, GitHub, Microsoft) are handled at the Identity service level.

Circuit breakers detect failures and stop sending traffic to unhealthy services. Clients receive a clear error response with retry guidance. The gateway monitors recovery and automatically restores traffic when the service is healthy again.

Absolutely. Every platform capability is exposed via REST endpoints with full Swagger documentation. You can automate provisioning, integrate billing with your ERP, build custom dashboards, or connect to any system that speaks HTTP.

Rate limits are per-route and per-tenant. Critical paths like login have tighter limits (300/min) while general endpoints allow higher throughput (30 req/s). Limits are enforced at the nginx gateway layer with burst handling for traffic spikes.