A real-time room availability dashboard for guest houses. Built by Nilachal Tech Solutions.
- Real-time sync — Status updates appear instantly across all devices
- Two views — Front Desk (staff) and Owner (admin)
- Mobile-first — Works on any phone browser, no app download needed
- Simple PIN login — Staff uses 4-digit PIN, Owner uses email/password
- History log — Track all status changes with timestamps
- Add/remove rooms — Owner can manage rooms from the dashboard
| Layer | Technology |
|---|---|
| Frontend | React (Vite) |
| Database | Firebase Firestore |
| Auth | Firebase Auth |
| Hosting | Firebase Hosting |
| Styling | Tailwind CSS |
git clone <repository-url>
cd room-status-dashboardnpm install- Go to Firebase Console
- Create a new project
- Enable Firestore, Auth, and Hosting
- Copy your Firebase config to
.env:
cp .env.example .env
# Edit .env with your Firebase credentialsnpm run devnpm run build
firebase deploysrc/
├── components/
│ ├── RoomCard.jsx # Individual room tile
│ ├── RoomGrid.jsx # Grid of room cards
│ ├── StatusModal.jsx # Bottom sheet for status updates
│ ├── SummaryBar.jsx # Stats bar (Total/Available/Occupied...)
│ ├── FilterTabs.jsx # Filter by status
│ ├── HistoryLog.jsx # Status change history
│ └── LoginScreen.jsx # PIN/Email login
├── pages/
│ ├── FrontDeskPage.jsx # Staff view
│ └── OwnerDashboard.jsx # Owner view
├── firebase/
│ ├── config.js # Firebase initialization
│ ├── roomService.js # Firestore operations
│ └── authService.js # Authentication logic
├── hooks/
│ └── useRooms.js # Real-time rooms hook
└── utils/
└── constants.js # Status colors and labels
- Login with 4-digit PIN
- Update room status (Available/Occupied/Cleaning/Maintenance)
- View room grid with color-coded status
- Login with email + password
- View all rooms and stats
- Add/remove rooms
- View status change history
- Reset staff PIN
| Status | Color | Description |
|---|---|---|
| Available | 🟢 Green | Room is empty and ready |
| Occupied | 🔴 Red | Guest is checked in |
| Cleaning | 🟡 Yellow | Room being cleaned |
| Maintenance | ⚪ Grey | Room under repair |
rooms/— Room data (number, type, status, guest name)statusHistory/— Log of all status changessettings/— Guest house config, staff PIN
Staff can only update room status. Owner has full access.
For a 10-30 room guest house: ₹0 to ₹500/month on Firebase free tier.
Built by Nilachal Tech Solutions © 2025