Step 1 · Firebase Backend
Firebase Backend Overview
Understand the role of Firestore, Authentication, Cloud Functions, and Storage in powering BookMyStay.
Architecture 30 min
BookMyStay uses Google Firebase as its unified cloud infrastructure. There are no Linux VPS servers, no PHP runtimes, and no self-managed databases to maintain.
Cloud Firestore
Real-time database storing branches, room inventory, seasonal pricing, guest bookings, and settings.
Authentication
Secure login handling for hotel guests (Email, Phone OTP, Google, Apple) and hotel staff (Email/Password).
Cloud Storage
Secure asset hosting for hotel property galleries, room photos, marketing banners, and invoice PDFs.
Cloud Functions
Server-side logic: 30-min room reservation holds, payment gateway verification, wallet refunds, and automated emails.
Cloud Messaging
Real-time push notifications delivered to traveler phones and browser tabs for booking confirmations.
Firebase Hosting
High-speed global CDN hosting with automatic free SSL for the Admin Panel and Customer Website.
Applications in the Ecosystem#
| Application | Platform | Users | Sign-In Methods |
|---|---|---|---|
| Customer Mobile App | Android & iOS | Travelers & hotel guests | Email, Phone SMS OTP, Google, Apple |
| Customer Website | Web (Desktop & Mobile) | Travelers & hotel guests | Email, Phone SMS OTP, Google, Apple |
| Hotel Admin Panel | Web (Desktop Browser) | Super Admin, Branch Managers, Front Desk | Email & Password |