Overview
Architecture
┌─────────────────────────────────────────────────┐
│ Frontend (React SPA) │
│ http://localhost:5173 │
└────────────────────┬────────────────────────────┘
│ REST API (Bearer token)
▼
┌─────────────────────────────────────────────────┐
│ Laravel 12 API (Nginx + PHP-FPM) │
│ http://localhost:8080 │
│ │
│ ┌──────────────┐ ┌─────────────────────┐ │
│ │ MySQL 8.0 │ │ Redis │ │
│ │ (port 3318) │ │ (cache + queues) │ │
│ └──────────────┘ └─────────────────────┘ │
└────────────────────┬────────────────────────────┘
│ HTTP + X-API-Key
▼
┌─────────────────────────────────────────────────┐
│ Python RAG Service (FastAPI + Celery) │
│ http://localhost:8000 │
│ │
│ ┌──────────────┐ ┌─────────────────────┐ │
│ │ Qdrant │ │ OpenAI API │ │
│ │ (port 6333) │ │ (embeddings + LLM) │ │
│ └──────────────┘ └─────────────────────┘ │
└─────────────────────────────────────────────────┘
┌─────────────────────────┐
│ MinIO (S3-compatible) │
│ Object Storage │
│ (port 9000/9001) │
└─────────────────────────┘
Used by both Laravel and RAG ServiceHow it works
Services
Service
Technology
Dev Port
Prerequisites
Quick Start
1. Clone and set up environment files
2. Start the backend stack
3. Run database migrations and seed plans
4. Create the MinIO bucket
5. Start the frontend
Environment Variables
Variable
Where
Purpose
Documentation
Guide
Contents
Last updated
Was this helpful?