Data Architecture
Jump to navigation
Jump to search
Lux-Ear Internal Wiki[edit | edit source]
Page: Data Architecture[edit | edit source]
Overview This page describes the proposed data architecture for Lux-Ear, leveraging Firebase to provide scalable, real-time infrastructure for kiosk scanners, customer-facing apps, internal tools, and cloud-based services.
Architecture Diagram[edit | edit source]

Key Components[edit | edit source]
- Firebase Authentication
* Authenticates users and devices (e.g., kiosk operators, customers, franchisees). * Supports multi-platform logins and enforces secure, role-based access.
- Firestore (Cloud Firestore)
* NoSQL database used to store metadata for scans, kiosk statuses, user profiles. * Real-time updates across web and mobile clients. * Offline caching support for kiosk and mobile operations.
- Firebase Cloud Storage
* Stores large files including 3D ear scans, images, diagnostic logs. * Access control rules tied to user or kiosk identity.
- Firebase Cloud Functions
* Hosts backend logic for events like scan upload, payment processing, and scan-to-CAD conversion.
- Firebase Hosting
* Serves static pages and web applications (e.g., Find a Scanner, Admin Dashboard).
- Analytics and Crashlytics
* Provides usage statistics, session tracking, and error diagnostics.
Optional Extensions[edit | edit source]
- Google Cloud Vertex AI: AI-based modeling of ear shapes.
- BigQuery: Advanced analytics on scan volumes, locations, and trends.
- Stripe: Payment integration via Firebase Cloud Functions.
- AppCheck: Ensures requests come from verified app clients.
Author[edit | edit source]
Scott McGregor Lux-Ear Founder and Product Strategy Lead