Shared Services Architecture
Central infrastructure layer — all modules consume these unified services. No duplication allowed.
13
Active Services
2
Service Events
5
System Logs
0
Audit Entries
Authentication Service
SecurityCentralized user authentication, session management, and identity verification
get_current_userupdate_profileBase44 Auth SDK — session tokens, OAuth, OTP
Authorization Service (RBAC)
SecurityRole-based access control and permission validation across all modules
check_rolecheck_permissionget_permissionsOwner / Manager / User role tiers with permission matrix
Stripe Payment Service
InfrastructureAll payment operations — subscriptions, one-time payments, deposits, refunds, revenue splitting
create_checkoutprocess_refundget_statussplit_revenueAdmin-only refunds, audit-logged, Stripe webhook validated
Cloudflare R2 Storage Service
InfrastructureCentralized file storage with signed URLs — images, videos, documents, project files
uploadupload_privateget_signed_urlSigned URLs, private storage default, access-controlled
Notification Service
CommunicationCentralized notifications for email, in-app, dashboard alerts, and system events
createbroadcastlistmark_readUser-scoped, triggered by workflow events
Messaging Service
CommunicationCentral communication system — project threads, direct messages, group chats, file attachments
sendlist_threadmark_readThread-scoped, read receipts, attachments via Storage Service
Email Service
CommunicationCentralized email delivery for transactional emails, notifications, and communications
sendAudit-logged, templated, from-name controlled
AI Service Layer
IntelligenceCentral AI gateway — content generation, image enhancement, text analysis, automation suggestions
invoke_llmgenerate_imagetranscribeget_usageSubscription-tier limits, usage tracking, Stripe billing validation
Search Service
IntelligenceGlobal permission-aware search across products, projects, clients, partners, bookings, files
globalRole-based filtering, permission-aware results
File Management Service
InfrastructureUpload validation, type restrictions, security scanning, storage routing to R2
validateuploadType validation, size limits, access control enforcement
Logging Service
OperationsImmutable system event tracking — user actions, system actions, errors, performance
createlistOwner-only full access, immutable records
Analytics Service
OperationsCentralized data aggregation — sales, bookings, projects, payments, traffic, AI usage
dashboardtrack_eventRole-scoped metrics, no independent module calculations
Audit Service
SecurityImmutable sensitive action tracking — role changes, payments, refunds, approvals, file access
listcreateOwner full access, manager limited access, immutable logs