# Connected Event App — one project throughout Session 2
Use morning-starter/01-current-guide.md and 02-programme.md. No Session 1 attendance required.
## Morning: learn AI Studio
Run an event question. Add system instructions specifying audience, concise answers and unknown-information behaviour. Add two examples: known registration time and undocumented shuttle. Compare held-out questions before/after; record model/settings. Inspect the API Keys area without copying a secret into the worksheet.
## Build brief
Create a static vanilla HTML/CSS/JavaScript event app with programme, nickname, morning/afternoon registration choice and a Q&A panel. Include validation, loading, success, error and retry states. Prepare Firebase Auth, Firestore client SDK and httpsCallable askEvent integration points. No browser Gemini key, Node frontend server or SSR. Label mock behaviour until real services are connected.
Preview, test and improve one interaction. Export the static source. Use the trainer baseline if generated code needs adaptation.
## Connect and deploy
Follow firebase-integration-guide.md for project setup, Google sign-in, owner-only Firestore records and a callable Cloud Function calling Gemini. Deploy frontend to Firebase Hosting. Test realtime record updates with two signed-in tabs.
## Project acceptance
Use evaluation-cases.csv and day2-worksheet.md. Required: one deployed Hosting app, source, five checks and a five-minute demonstration. Cloud Run is an alternative explained in class, not a second required deployment.
