Welcome to the GitDocAI platform architecture overview. This guide provides a high-level look at how our system is designed, helping you understand the underlying technical components, data flow, and security layers that power your documentation experience.
High-Level Architecture
The GitDocAI platform is built on a modern, scalable architecture divided into three primary layers: the frontend interface, backend services, and the data storage layer.
flowchart TB
User((User))
subgraph "Frontend Layer"
VE["Visual Editor"]
Dashboard["Admin Dashboard"]
end
subgraph "Core Services"
API["Core API"]
Auth["Access Control and Security"]
Billing["Billing and Plans"]
AI["AI Processing Engine"]
end
subgraph "Data Layer"
DB[("Data Models and Storage")]
end
User --> VE
User --> Dashboard
VE --> API
Dashboard --> API
Dashboard --> Auth
API <--> Auth
API <--> Billing
API <--> AI
API <--> DBCore Components
Our architecture is modular, ensuring that each component can scale independently while maintaining a seamless experience for your team.
Security and Access Control
Security is a foundational element of the platform. The system handles access at multiple levels to ensure your data remains protected.
Authentication: All requests to the Core API require valid authentication tokens. We support secure session management and standard authentication flows.
User Roles & Permissions: Granular access control allows you to define exactly who can view, edit, or manage specific documentation sections.
Public vs. Private Documentation: The routing layer dynamically checks permissions to serve public pages globally while restricting private content to authenticated users with the correct roles.
When setting up a new project, we recommend configuring your user roles and permissions before inviting your broader team to ensure everyone has the correct level of access from day one.
Typical Data Flow
Understanding how data moves through the system can help you conceptualize how your documentation is saved and processed.
- 1
User Action
A user makes a change in the Visual Editor or triggers an AI generation request.
- 2
Authentication Check
The request is routed through the Access Control layer to verify the user's identity and confirm they have the necessary permissions.
- 3
Processing
The Core API processes the request. If AI generation or billing validation is required, the API communicates with those specific microservices.
- 4
Storage and Response
The updated data model is saved to the Data Layer, and a success response is returned to the frontend to update your screen in real-time.
For detailed specifications on integrating directly with our backend, please refer to the API Reference section of the documentation.