Backoffice Launch Checklist
-
Auth
- Google OAuth app: production status, callback
https://bo.betoto.pet/api/auth/callback/google NEXTAUTH_URL,NEXTAUTH_SECRETset inapphosting.prod.yaml
- Google OAuth app: production status, callback
-
Secrets & env
GOOGLE_CLIENT_ID/SECRET,FIREBASE_WEB_API_KEYin Secret Manager; access granted to backend
-
Firestore
- β Composite indexes created (users, notifications, support_tickets)
- β Security rules deployed - Role-based access control (admin, guardian, user)
- β Production database cleaned - Ready for beta launch
-
Storage
- β Storage security rules deployed - Path-based permissions for file uploads
- β File organization structure - profile_images, case_images, documents, etc.
-
App Hosting
- Build green,
/api/healthreturns{ status: "ok" }
- Build green,
-
Security
- β Firestore security rules - Comprehensive role-based access control
- β Storage security rules - Secure file upload/access permissions
- Security headers enabled via
middleware.ts(CSP report-only) - robots.txt disallow indexing
- Rate limiting on write APIs
-
Features sanity
- Collaborators CRUD + quick actions
- Users list/actions/export
- Support Hub tickets CRUD, filters, export
- Notifications bell/modal
-
Post-launch
- Flip CSP to enforce after 24h
- Set uptime checks and error alerts