How nikhil-nd/campusconnect works
CampusConnect is a Flutter campus community app backed primarily by Firebase. Students authenticate with college email, then use a mixed-content feed and dedicated campus services; admins moderate reports and events. The graph includes README-documented capabilities and the central Firestore service/store boundary. Dart implementation excerpts were not provided, so most app-level links reflect README documentation rather than inspected calls; the Windows host links are supported by excerpts.
Main entry points: firestore_service.dart Firestore service · marketplace_screen.dart Marketplace · events_screen.dart Events · admin_panel_screen.dart Admin moderation
Components 23
Application shell
- App startup
lib/main.dart - Navigation
lib/routes/app_router.dart
Campus services
- Email authentication
lib/screens/auth - Home feed
lib/screens/home/home_screen.dart - Marketplace
lib/screens/marketplace/marketplace_screen.dart - Events
lib/screens/events/events_screen.dart - Lost and found
lib/screens/lostfound/lostfound_screen.dart - Student jobs
lib/screens/jobs/jobs_screen.dart - One-to-one chat
lib/screens/chat/chat_screen.dart - Student profile
lib/screens/profile/profile_screen.dart - Spam reports
lib/models/report_model.dart - Admin moderation
lib/screens/admin/admin_panel_screen.dart - Admin insights
lib/screens/admin/insights_screen.dart
Firebase backend
- Authentication service
lib/services/auth_service.dart - Firestore service
lib/services/firestore_service.dart - Cloud Firestore
- Firebase Storage
lib/services/storage_service.dart - Notifications
lib/services/notification_service.dart - Analytics
lib/services/analytics_service.dart
Desktop host
- Flutter window host
windows/runner/flutter_window.cpp - Win32 window
windows/runner/win32_window.cpp - Plugin registration
windows/flutter/generated_plugin_registrant.cc
Other components
- Student
Connections 29
- Student → App startup: opens
- App startup → Navigation: starts
- Student → Email authentication: signs in
README.md - Email authentication → Authentication service: authenticates
README.md - Authentication service → Cloud Firestore: uses Firebase
README.md - Student → Home feed: views
README.md - Home feed → Firestore service: loads content
- Student → Marketplace: browses listings
README.md - Marketplace → Firestore service: manages listings
- Marketplace → Firebase Storage: uploads images
README.md - Student → Events: registers
README.md - Events → Firestore service: stores events
- Events → Notifications: sends reminders
README.md - Student → Lost and found: posts items
README.md - Lost and found → Firestore service: stores posts
- Student → Student jobs: browses jobs
README.md - Student jobs → Firestore service: stores jobs
- Student → One-to-one chat: messages peers
README.md - One-to-one chat → Firestore service: stores messages
README.md - Student → Student profile: views profile
README.md - Student profile → Firestore service: stores profiles
- Student → Spam reports: reports spam
README.md - Spam reports → Firestore service: stores reports
- Student → Admin moderation: moderates
README.md - Admin moderation → Firestore service: moderates records
- Admin moderation → Admin insights: views insights
- Firestore service → Analytics: tracks usage
- Flutter window host → Win32 window: inherits window
windows/runner/flutter_window.cpp - Flutter window host → Plugin registration: registers plugins
windows/runner/flutter_window.cpp