This contains everything you need to run your app locally.
View your app in AI Studio: https://ai.studio/apps/ab5d0454-4934-43d3-b2d8-3fdcee10118b
Prerequisites: Node.js
- Install dependencies:
npm install - Set the
GEMINI_API_KEYin .env.local to your Gemini API key - Run the app:
npm run dev
The Public AI Chatbot used in /public-dashboard runs on FastAPI.
- Install Python dependencies:
pip install -r backend/requirements.txt - Ensure
.env.localincludes:GEMINI_API_KEY=YOUR_API_KEY - Start backend:
uvicorn backend.main:app --reload --port 8000 - (Optional) Set frontend API base URL:
NEXT_PUBLIC_FASTAPI_URL=http://127.0.0.1:8000
API endpoint:
POST /chatbot/public
- Install deps:
- Root:
npm install - Server:
cd server && npm install
- Root:
- Configure
.env.local:MONGO_URIJWT_SECRETREALTIME_API_PORT=4000NEXT_PUBLIC_REALTIME_API_URL=http://127.0.0.1:4000
- Start realtime backend:
cd server && npm run dev - Start frontend:
npm run dev
