Development Setup
Development Setup
Guide to setting up a development environment.
Prerequisites
- Node.js 18+
- pnpm (recommended) or npm
- Git
- Docker (for Kestra, optional)
Clone Repository
git clone https://github.com/SpandanM110/AI-Arena.gitcd AI-ArenaInstall Dependencies
Backend
cd backendpnpm installFrontend
cd frontendpnpm installEnvironment Setup
Backend
Copy .env.example to .env:
cp .env.example .envEdit .env with your configuration.
Frontend
Create .env.local:
NEXT_PUBLIC_API_URL=http://localhost:3001/apiNEXT_PUBLIC_WS_URL=ws://localhost:3002Start Development Servers
Backend
cd backendpnpm run devFrontend
cd frontendpnpm run devSeed Database
cd backendpnpm run seedNext Steps
- Contributing - Contribution guide
- Testing - Testing guide