Repository Map

Codebase structure and file organization

frontend/

Next.js 16 application (Vercel deployment)

app/
Pages & routes (App Router)
components/
React components
lib/
API client & utilities
hooks/
Custom React hooks
backend-api/

FastAPI backend (Python 3.13)

routes/
API endpoints
services/
Business logic
models/
Pydantic models
main.py
App entry point
runpod-docker/

Custom Docker image for RunPod Serverless

Dockerfile
SD 1.5 + VAE image
models/
Local model cache
README.md
Build & deploy guide
Docs/

Project documentation (45K+ lines)

planning/
Product strategy
technical/
Implementation guides
sessions/
Daily summaries
design/
UX specs & wireframes
Project Statistics
605
Total Files
45K+
Lines of Docs
13.4GB
Docker Image
10
API Endpoints
Technology Stack
Frontend
  • • Next.js 16
  • • React 19
  • • TypeScript
  • • Tailwind CSS
Backend
  • • FastAPI
  • • Python 3.13
  • • Redis Queue
  • • WebSockets
Infrastructure
  • • Vercel (Frontend)
  • • Render (Backend)
  • • RunPod (GPU)
  • • Appwrite (DB)
AI/ML
  • • ComfyUI
  • • Stable Diffusion 1.5
  • • NVIDIA A4000
  • • Docker (13.4GB)