This Gist outlines the core logic powering the BBQ Heaven Rockingham ordering ecosystem, focusing on security, location-aware ordering, and real-time synchronization.
The system leverages Firebase Authentication and Realtime Database Rules to enforce Role-Based Access Control:
- Customers: Granted
Write-Onlyaccess to theordersnode. This allows order submission while preventing customers from viewing other people's data.