# SaaS Build Notes

## Core SaaS readiness included
- Tenant table and tenant ownership
- User roles and workspace/team separation
- Subscription table
- Admin stats endpoint
- Billing checkout placeholder
- PWA shell
- Lesson/content database structure
- Gamification database structure

## Next production stage
1. Add Stripe Checkout and customer portal.
2. Add email verification and password reset.
3. Add admin CRUD for languages, categories and phrases.
4. Add real translation/audio workflow.
5. Add rate limiting and CSRF tokens.
6. Add AI assistant endpoint with safe travel-specific prompts.
7. Add CDN/object storage for audio files.
8. Add analytics events and cohort retention dashboard.
