DevFest Florida Hackathon 2026 — A working Flutter chat UI with no Firebase wired in yet (you'll add that live in Module 0!).
📄 Workshop Reference Guide & Copy-Paste Commands (Google Doc)
💡 Looking for the completed code? Switch to the
solutionbranch (git checkout solution) to see the finished app with Firebase AI Logic and Firestore function calling wired up.
flutter pub get
flutter run -d chromeYou'll get a working chat screen that replies with a placeholder message. That's expected — there's no AI connected yet.
- Create a Firebase project in the console (free Spark plan, no credit card)
- Enable Firestore (in Test Mode)
- Enable Firebase AI Logic → choose the Gemini Developer API provider (stays on Spark, no billing)
- Run the starter app (
flutter pub getandflutter run -d chrome) - Connect your Flutter project to Firebase (this registers your Web app in Firebase):
firebase login flutterfire configure --platforms=web
Tips:
- If you get
flutterfire: command not found, rundart pub global run flutterfire_cli:flutterfire configure --platforms=webdirectly, or add Dart's global bin folder to your PATH (export PATH="$PATH":"$HOME/.pub-cache/bin"on Mac/Linux). - If you get
Failed to create Web app(rate limit when many attendees run it at once), click the</>(Web) icon on the Firebase Console Project Overview page to register your Web app first, then re-runflutterfire configure --platforms=web.
- If you get
- Add the Firebase packages:
flutter pub add firebase_core cloud_firestore firebase_ai firebase_app_check
- Initialize Firebase & App Check in
lib/main.dart:- Copy the
main.dartsnippet from Step 4 of the Reference Guide intolib/main.dart. - In the Firebase Console (App Check → Apps), click the
⋮(three-dot menu) next to your Web app → Manage debug tokens, generate a debug token forlocalhost, and paste it directly intoWebDebugProvider(debugToken: 'YOUR_DEBUG_TOKEN')inlib/main.dart. - (Optional for Firebase Hosting deployment: click Register → Fraud Defense and paste your Website Key ID into
ReCaptchaEnterpriseProvider('YOUR_FRAUD_DEFENSE_SITE_KEY').)
- Copy the
- Seed the Orlando restaurants dataset into Firestore:
node data/seed.js
Replace _placeholderReply in lib/chat_screen.dart with a real call through FirebaseAI.googleAI().generativeModel(...). Ask it something about a specific restaurant — watch it confidently make something up. That's the hook for Module 2.
Add the queryRestaurants tool so the model pulls real answers from Firestore instead of guessing. Check the solution branch (lib/services/gemini_chat_service.dart and lib/tools/restaurant_query_tool.dart) for the target shape — build up to it rather than copy-pasting!
Filters and follow-ups, source citations, and Firebase Auth.