- Python 3.11+
- Node.js 20+
- OpenAI API key
-
Clone and navigate to project
git clone <your-repo> cd <project-name>
-
Backend Setup
cd backend pip install fastapi openai uvicorn websockets pydantic python-multipart export OPENAI_API_KEY="your-api-key-here" uvicorn main:app --host 0.0.0.0 --port 8000 --reload
-
Frontend Setup (new terminal)
cd frontend npm install npm run dev -
Access the application
- Frontend: http://localhost:5173
- Backend API: http://localhost:8000
OPENAI_API_KEY: Required for AI functionality
- The app automatically detects local vs Replit environment
- WebSocket and API calls adapt to the current environment
- Both frontend and backend support hot reload