# Les 15: Eindproject Werkdag 1

---

## Hoofdstuk
**Deel 4: Advanced AI & Deployment** (Les 13-18)

## Beschrijving
Eerste intensieve werkdag aan je eindproject. Focus op core features bouwen, Q&A sessions, individuele hulp, en probleemoplossing. Docent beschikbaar voor guidance en klassikale sparring.

---

## Te Behandelen (~45 min guidance + 120 min work)

- Q&A session: wat loop je tegen aan?
- Cursor tips & tricks review
- Debugging strategies en common patterns
- Performance optimization basics
- Deployment troubleshooting preview
- Hands-on assistance beschikbaar
- Code review feedback
- Feature planning discussion

---

## Doel van deze Werkdag

- Core features van je eindproject afmaken
- Architecture validatie (is je setup goed?)
- Database integratie testen
- Auth flows uitwerken
- First AI feature implementeren
- Testing en bug fixes

---

### Checklist voor deze Sessie

**Code Quality:**
- [ ] TypeScript geen errors
- [ ] No console.logs in production code
- [ ] Proper error handling
- [ ] Component props typed

**Features:**
- [ ] Core feature 1 werkend
- [ ] Core feature 2 werkend
- [ ] Data persistence (Supabase)
- [ ] Loading states visible
- [ ] Error states handled

**Setup:**
- [ ] Project structure clean
- [ ] .cursorrules up-to-date
- [ ] Environment variables configured
- [ ] Git history clean

---

## Tools
- Cursor
- Chrome DevTools
- Supabase Dashboard
- GitHub
- Vercel (optional preview)

---

## Lesopdracht (4 uur, hands-on werk)

### Intensive Development Session

**Hou je voortgang bij:**

**Eerste uur (0-60 min):**
- [ ] Maak prioriteiten list van features
- [ ] Fix top 3 bugs van vorige sessies
- [ ] Test alles lokaal
- [ ] Ask docent for guidance if stuck

**Twee uur (60-120 min):**
- [ ] Implementeer core feature 1 (CRUD)
- [ ] Implementeer core feature 2
- [ ] Add loading/error states
- [ ] Styling pass 1

**Drie uur (120-180 min):**
- [ ] Implementeer AI feature (tool calling)
- [ ] Test end-to-end flows
- [ ] Fix bugs found
- [ ] Performance check

**Vier uur (180-240 min):**
- [ ] Polish UI
- [ ] Code cleanup
- [ ] Document decisions
- [ ] Commit and push

### Deliverable
- Werkende core features
- Updated PROMPT-LOG.md (add entries)
- Updated AI-DECISIONS.md
- GitHub commits with progress
- Screenshot of working features

---

## Huiswerk

Continue building your project for next session.

**Checklist:**
- [ ] Core features complete
- [ ] All changes pushed to GitHub
- [ ] PROMPT-LOG.md updated with prompts used
- [ ] AI-DECISIONS.md updated with choices made
- [ ] Ready for next workday session

---

## Leerdoelen

Na deze les kan de student:
- Zelfstandig problemen identificeren en fixen
- Cursor effectief gebruiken voor rapid development
- Architectuur decisions valideren en aanpassen
- Debugging strategieën toepassen
- Features end-to-end implementeren
- Development workflows versnellen
- Documentatie up-to-date houden
