Technology Stack
Relevant source files
The following files were used as context for generating this wiki page:
The GoHighLevel Clone project utilizes a modern, full-stack architecture designed for high scalability, maintainability, and enterprise-grade performance. The stack is centered around a Python-based FastAPI backend and a TypeScript-driven Next.js frontend, following Domain-Driven Design (DDD) and Clean Architecture principles.
Sources: README.md:16-24, FINAL_REPORT.md:11-15
Backend Architecture
The backend is built using FastAPI 0.115+ and Python 3.12+. It employs a 4-layer Clean Architecture (Presentation, Application, Domain, and Infrastructure) to ensure a strict separation of concerns and robust business logic encapsulation.
Sources: README.md:144-153, FINAL_REPORT.md:88-106
Core Backend Components
| Component | Technology | Description |
|---|---|---|
| Framework | FastAPI 0.115+ | High-performance async web framework for building APIs. |
| Language | Python 3.12+ | Primary language with comprehensive type hint support. |
| Database | PostgreSQL 16 | Primary relational database with SQLAlchemy 2.0 async support. |
| Cache | Redis 7+ | Used for distributed caching, rate limiting, and background queues. |
| Auth | JWT / Clerk | JSON Web Token based authentication with Clerk integration. |
| Migrations | Alembic | Database schema versioning and migration management. |
| Validation | Pydantic 2.0 | Data validation and settings management using Python type hints. |
Sources: README.md:144-153, FINAL_REPORT.md:73-81, FUNNELS_BACKEND_IMPLEMENTATION_REPORT.md:435-442
Backend Data Flow
The following diagram illustrates the request-response cycle through the backend's Clean Architecture layers.
The system ensures that business logic is contained within the Domain layer, while the Infrastructure layer handles external concerns like database persistence and third-party API communications.
Sources: FINAL_REPORT.md:109-122, FUNNELS_BACKEND_IMPLEMENTATION_REPORT.md:41-65
Frontend Architecture
The frontend is a Next.js 14.2+ application utilizing the App Router and React 19. It is written entirely in TypeScript 5.4+ to ensure type safety across the UI components and state management.
Sources: README.md:155-163, FRONTEND_IMPLEMENTATION_SUMMARY.md:110-128
Core Frontend Components
| Component | Technology | Description |
|---|---|---|
| Framework | Next.js 14.2+ | React framework with App Router for server-side rendering and routing. |
| UI Library | Shadcn UI | Component primitives built on Radix UI and Tailwind CSS. |
| State | Zustand | Lightweight client-side state management for canvas and workflow stores. |
| Server State | TanStack Query | For API data fetching, caching, and background synchronization. |
| Styling | Tailwind CSS 3.4+ | Utility-first CSS framework for responsive design. |
| Forms | React Hook Form | High-performance form management with Zod validation. |
| Visualization | React Flow / Recharts | Used for the visual workflow builder and analytics dashboards. |
Sources: README.md:155-163, DDD_IMPLEMENTATION_REPORT_SPEC_FRN_001.md:295-325, FRONTEND_IMPLEMENTATION_SUMMARY.md:110-128
State Management Hierarchy
The frontend separates state into two distinct layers: Client State (Zustand) for UI interactions and Server State (TanStack Query) for backend data.
Infrastructure and DevOps
The project is designed for containerized deployment using Docker and Docker Compose, facilitating consistent environments across development and production.
Sources: README.md:165-171, FINAL_REPORT.md:83-86
CI/CD and Deployment Pipeline
The development workflow follows a SPEC-First DDD methodology, supported by GitHub Actions for continuous integration.
Sources: README.md:175-188, FINAL_REPORT.md:150-156
Testing and Quality Standards
The project adheres to the TRUST 5 Quality Standards: Tested, Readable, Unified, Secured, and Trackable.
Sources: README.md:190-196, CHANGELOG.md:118-125
Testing Frameworks
- Backend:
pytestfor unit and integration testing,pytest-covfor coverage reporting. Target coverage is 85%+. - Frontend:
Vitestfor unit testing andPlaywrightfor End-to-End (E2E) testing. - Accessibility:
jest-axeintegration to ensure WCAG 2.1 AA compliance.
Sources: README.md:198-204, FRONTEND_IMPLEMENTATION_SUMMARY.md:280-285, FINAL_REPORT.md:58-66
Conclusion
The GoHighLevel Clone technology stack represents a robust integration of modern web technologies. By leveraging FastAPI's performance, Next.js's flexibility, and DDD's structural integrity, the platform provides a production-ready environment for enterprise marketing automation. The infrastructure is fully automated, ensuring that code quality is maintained through rigorous testing and automated CI/CD pipelines.
Sources: DOCUMENTATION_SUMMARY.md:257-268, FINAL_REPORT.md:21-25