systemforge-ai / frontend /README.md
JacobJA's picture
Clean fresh deployment
34b6cef
|
Raw
History Blame Contribute Delete
2.22 kB

SystemForge AI β€” Frontend

Premium Next.js frontend for the SystemForge AI multi-agent architecture engine.

Tech Stack

Tool Purpose
Next.js 14 App Router, SSR/SSG
TypeScript Full type safety
Ant Design 5 UI component system
Framer Motion Animations & transitions
React Three Fiber 3D particle explosion background
Three.js 3D rendering engine

Getting Started

cd frontend
npm install
npm run dev

Open http://localhost:3000

Folder Structure

frontend/
β”œβ”€β”€ app/
β”‚   β”œβ”€β”€ layout.tsx          # Root layout with Ant Design theme
β”‚   └── page.tsx            # Main page orchestrator
β”œβ”€β”€ components/
β”‚   β”œβ”€β”€ agents/
β”‚   β”‚   β”œβ”€β”€ AgentCard.tsx   # Individual agent output card
β”‚   β”‚   └── AgentPipeline.tsx # 3-agent pipeline layout
β”‚   β”œβ”€β”€ animations/
β”‚   β”‚   └── ParticleBackground.tsx  # 3D exploding Three.js scene
β”‚   β”œβ”€β”€ layout/
β”‚   β”‚   └── Header.tsx      # Fixed top navigation
β”‚   └── ui/
β”‚       └── HeroSection.tsx # Hero + project input
β”œβ”€β”€ lib/
β”‚   β”œβ”€β”€ api.ts              # Backend API + mock mode
β”‚   └── types.ts            # Shared TypeScript types
β”œβ”€β”€ styles/
β”‚   └── globals.css         # CSS variables, fonts, base styles
β”œβ”€β”€ .env.local              # Environment config
└── package.json

Environment Variables

NEXT_PUBLIC_BACKEND_URL=http://localhost:8000   # FastAPI backend
NEXT_PUBLIC_MOCK_MODE=true                       # Enable mock responses

Mock Mode

The frontend works fully without AMD credits using mock mode. Realistic agent outputs are streamed with proper timing simulation.

Set NEXT_PUBLIC_MOCK_MODE=false and ensure NEXT_PUBLIC_BACKEND_URL points to a live backend once AMD credits are activated.

Design System

  • Primary: AMD Red #E30913
  • Accent: Cyan #00D4FF, Gold #FFB800, Green #00FF9C
  • Font Display: Orbitron
  • Font Body: Rajdhani
  • Font Mono: JetBrains Mono
  • Theme: Dark β€” void black backgrounds with glowing accents