System Design

Platform Architecture

A comprehensive digital platform for business management. BizKitHub combines CRM, e-commerce, payments, invoicing, communication, and automation into one unified system.

Built on modern technologies with a modular architecture that enables flexibility, scalability, and seamless integration.

Business Modules

The platform is organized into specialized modules, each handling specific business domains while sharing a unified data layer.

Core Business

CRM & Contacts

Customer management, groups, credits

Orders

Order lifecycle, payments, invoices

Products

Catalog, variants, categories

Invoicing

Invoices, receipts, tax documents

Communication

Email System

Transactional emails, templates

Newsletter

Campaigns, segmentation, analytics

Calendar

Events, reservations, reminders

Payments

Payment Gateways

Multiple providers support

Bank Integration

Transaction matching

Vouchers

Discounts, promo codes

Automation

Workflow Engine

Process automation

Scheduled Tasks

Background jobs, cron

AI Assistant

Analysis, matching, automation

System Overview

The platform follows a layered architecture with clear separation between presentation, business logic, and data layers.

Public REST API

External integrations with API key authentication

api.bizkithub.com/api/v1/

BFF Layer

Optimized endpoints for frontend applications

api.bizkithub.com/bff/

Business Logic Layer

Modular architecture with 30+ specialized modules handling all business operations

AccountContactOrderProductPaymentEmailerCalendarWorkflow

PostgreSQL

Primary Database

Redis

Cache & Sessions

S3 Storage

Files & Media

Data Flow

Understanding how requests are processed through the platform layers.

1

Request Authentication

API requests are authenticated via API keys or session tokens with rate limiting applied.

2

Business Logic Processing

Requests are routed to appropriate modules where business rules and validations are applied.

3

Data Persistence

Data is stored in PostgreSQL with full ACID compliance and referential integrity.

4

Response & Events

Responses are returned with optional webhook notifications for subscribed events.

Security Architecture

Multiple layers of security protect your data and ensure compliance.

API Key Authentication

Secure API access with rotating keys

Rate Limiting

Protection against abuse

Role-Based Access

Granular permissions system

Data Encryption

TLS 1.3 and at-rest encryption

Technology Stack

Built with modern, battle-tested technologies for reliability and performance.

Frontend
Next.js 14
App Router
Database
PostgreSQL
Primary database
Database
Drizzle ORM
Type-safe queries
Cache
Redis
Caching layer
Storage
S3 Storage
File storage
Language
TypeScript
End-to-end types

Platform Capabilities

Key advantages and features of the BizKitHub architecture.

Architecture Advantages

Modular business logic separation
Unified API across all services
Horizontal scalability
Multi-tenant architecture
Real-time event processing
Automated workflow execution

Key Features

Full-text search across all entities
Intelligent data linking
Multi-language support (CS, EN, SK, PL)
High availability (99.9% uptime)
Audit logging
GDPR compliance

API Integration

All platform features are accessible through a comprehensive REST API, enabling seamless integration with external systems.

Available API Modules

Contacts
Products
Orders
Payments
Calendar
Emailer
Vouchers
Webhooks

Learn More

Explore detailed documentation for specific platform areas.