AI-powered educational content verification platform that fact-checks short-form videos using Google Gemini and Firebase.
- /frontend: Next.js 14 App with TypeScript, Tailwind CSS, Radix UI
- /backend: FastAPI Python server with Gemini AI integration
- Node.js 18+ and npm
- Python 3.9+
- Firebase project with Firestore enabled
- Google Gemini API key
git clone https://github.com/atinder-harika/Chestify.git
cd Chestifycd backend
python -m venv venv
# Windows
venv\Scripts\activate
# macOS/Linux
source venv/bin/activate
pip install -r requirements.txtCreate backend/.env:
GEMINI_API_KEY=your_gemini_api_key_here- Go to Firebase Console → Project Settings → Service Accounts
- Generate new private key (downloads JSON file)
- Save as
backend/keys/service-account.json
# Make sure you're in backend/ directory with venv activated
uvicorn main:app --reload --host 0.0.0.0 --port 8000Backend runs at http://localhost:8000
cd frontend
npm installCreate frontend/.env.local:
NEXT_PUBLIC_FIREBASE_API_KEY=your_firebase_api_key
NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN=your-project.firebaseapp.com
NEXT_PUBLIC_FIREBASE_PROJECT_ID=your-project-id
NEXT_PUBLIC_FIREBASE_STORAGE_BUCKET=your-project.appspot.com
NEXT_PUBLIC_FIREBASE_MESSAGING_SENDER_ID=your_sender_id
NEXT_PUBLIC_FIREBASE_APP_ID=your_app_idGet these from Firebase Console → Project Settings → General → Your apps → Web app
npm run devFrontend runs at http://localhost:3000
- Open
http://localhost:3000 - Sign in with Google
- Add a YouTube Shorts or TikTok URL
- Backend should process it and display fact-check results
- Get free API key: https://ai.google.dev/
- Used for: AI analysis, fact-checking, chatbot
- Create project: https://console.firebase.google.com/
- Enable: Authentication (Google Sign-In), Firestore Database
- Used for: User auth, real-time data storage
- Frontend: Next.js 14, TypeScript, Tailwind CSS, Radix UI, Framer Motion
- Backend: FastAPI, Python, Google Gemini AI
- Database: Firebase Firestore
- Auth: Firebase Authentication (Google OAuth)
- Deployment: Vercel (Frontend), Railway (Backend)