Skip to content

srisaihariharan/gaiasync

Repository files navigation

GHBanner

Run and deploy your AI Studio app

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

Run Locally

Prerequisites: Node.js

  1. Install dependencies: npm install
  2. Set the GEMINI_API_KEY in .env.local to your Gemini API key
  3. Run the app: npm run dev

Public Chatbot Backend (FastAPI)

The Public AI Chatbot used in /public-dashboard runs on FastAPI.

  1. Install Python dependencies: pip install -r backend/requirements.txt
  2. Ensure .env.local includes: GEMINI_API_KEY=YOUR_API_KEY
  3. Start backend: uvicorn backend.main:app --reload --port 8000
  4. (Optional) Set frontend API base URL: NEXT_PUBLIC_FASTAPI_URL=http://127.0.0.1:8000

API endpoint:

  • POST /chatbot/public

Realtime Dashboard Backend (Node + Socket.IO)

  1. Install deps:
    • Root: npm install
    • Server: cd server && npm install
  2. Configure .env.local:
    • MONGO_URI
    • JWT_SECRET
    • REALTIME_API_PORT=4000
    • NEXT_PUBLIC_REALTIME_API_URL=http://127.0.0.1:4000
  3. Start realtime backend: cd server && npm run dev
  4. Start frontend: npm run dev

About

gaiasync

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors