🚀 HACKATHON PLAN (READ THIS FIRST — NO CONFUSION)
User → Frontend → Backend → Gemini AI → Database → Dashboard
Frontend:
- React OR HTML/CSS/JS
- Axios
Backend:
- FastAPI (Python)
- Gemini API
- Firebase Firestore
- Uvicorn
PPT:
- Canva / PowerPoint
- Diagrams + Demo Script
-
Create APIs:
/report-emergency/get-alerts
-
Integrate Gemini (classify: Fire / Medical / Security)
-
Store in Firebase
-
Enable CORS
Example: { "type": "Fire", "message": "Smoke in kitchen", "time": "...", "status": "Active" }
Page 1:
- Emergency input (text or buttons)
- Send to backend
Page 2:
-
Dashboard:
- Type
- Message
- Status
API: POST /report-emergency { message: "Fire in kitchen" }
Slides:
- Problem
- Solution
- Features
- Architecture
- Tech Stack
- Demo Flow
- Future Scope
- User sends input
- Frontend → Backend
- Backend → Gemini
- Gemini → category
- Store in Firebase
- Show in dashboard
- 1 working API
- 1 AI classification
- 1 dashboard
- 1 deployed link