A modern web application that helps students stay updated with campus events and get instant answers about campus life using Google's Gemini AI.
✅ Events Dashboard: Real-time campus events with filtering (Today/Upcoming/All)
✅ AI Chat Assistant: Powered by Google's Gemini API for campus-related queries
✅ Modern UI: Beautiful, responsive design with smooth animations
🔄 Real-time Updates: Firebase integration for live event updates
🔔 Push Notifications: Firebase Cloud Messaging for event reminders
- Frontend: React + Vite
- Backend: Firebase (Firestore, Auth, Cloud Functions)
- AI: Google Gemini API
- Styling: CSS3 with modern gradients and animations
- Icons: Lucide React
- Deployment: Firebase Hosting
npm install- Go to Firebase Console
- Create a new project
- Enable Firestore Database
- Enable Authentication (Email/Google)
- Get your config from Project Settings > General
- Replace the config in
src/firebaseConfig.js
- Get Gemini API key from Google AI Studio
- Create
.envfile:
VITE_GEMINI_API_KEY=your_gemini_api_key_herenpm run devVisit http://localhost:3000 - Your CampusGPT is ready! 🎉
- Click "Add Event" to see real-time updates
- Use filter tabs: "All Events", "Today", "Upcoming"
- Each event shows date, time, location, and organizing club
Try these sample queries:
- "What's happening today?"
- "When is the next hackathon?"
- "Show me placement events"
- "What events are this week?"
- Build the app:
npm run build- Deploy to Firebase Hosting:
npm install -g firebase-tools
firebase login
firebase init hosting
firebase deployCampusGPT/
├── src/
│ ├── components/
│ │ ├── EventCard.jsx # Reusable event display component
│ │ └── ChatBox.jsx # AI chat interface
│ ├── firebaseConfig.js # Firebase configuration
│ ├── App.jsx # Main application component
│ ├── main.jsx # React entry point
│ └── index.css # Modern UI styling
├── package.json # Dependencies
└── README.md # This file
- Real Firebase Integration: Replace sample data with Firestore
- User Authentication: Add Google/Email login
- Push Notifications: Implement FCM for event reminders
- Advanced Filters: Search by club, category, date range
- Event Creation: Allow students to submit events
- Calendar Integration: Export events to Google Calendar
This prototype demonstrates:
- ✅ Google Technologies (Firebase + Gemini AI)
- ✅ 2-3 working features (Events Dashboard, AI Chat, Real-time Updates)
- ✅ Modern web application with beautiful UI
- ✅ Local problem solution (Campus event management)
Perfect for hackathons, competitions, and academic projects! 🚀