Step 1 — Clone the Repo

https://github.com/ashihams/Deliberate-AI

Step 2 — Install Dependencies

Frontend (React)

cd client
npm install

Backend (FastAPI / Node depending on your setup)

cd ../server
npm install# or pip install -r requirements.txt if Python

Step 3 — Setup Environment Variables

Create .env files in both client and server.

Example (server/.env):

MONGO_URI=your_mongodb_connection
OPENAI_API_KEY=your_key
WALLET_RPC_URL=https://sepolia.infura.io/v3/your_key
PRIVATE_KEY=your_wallet_private_key

Example (client/.env):

VITE_BACKEND_URL=http://localhost:5000

Step 4 — Run the Project

Start backend

cd server
npm run dev# or uvicorn main:app --reload

Start frontend

cd client
npm run dev