Nadeem Akhtar
01 Home 02 My Journey 03 Products Engineered Active 04 Onboarding Workspace
Download Resume PDF
© 2026 Nadeem Akhtar
Back to Projects
System Architecture

TravelStay – Dual-Role Booking Platform

A single-codebase cross-platform mobile application for guests and property hosts with a Content-Based Filtering recommendation engine.

FlutterDart 3.5GetXFirebase AuthCloud FirestoreFirebase Realtime DBGetStorageCached Network Image

Role

Lead Architect

Duration

1 Month (Production Baseline)

Platform

Production App

Status

Codebase Complete

Demo Not Available
TravelStay – Dual-Role Booking Platform Banner
Project Overview

System & Product Summary

TravelStay is a dual-role cross-platform hospitality mobile platform built with Flutter and Firebase Cloud Firestore. Designed to serve both Guests and Hosts within a single application, it eliminates the need for separate consumer and host apps through real-time role-flag UI switching (`isHost`), a client-side Content-Based Filtering (CBF) recommendation engine, and a Date-Overlap Prevention algorithm.

The Challenge

Core Problem & Friction

Hospitality listing platforms suffer from double-booking race conditions during high-volume periods. Furthermore, separate interfaces for hosts and guests introduce user onboarding friction.

Systemic Constraints

0% double-booking anomalies, unified guest/host role switching boundaries, low network overheads, and responsive analytics readouts.

Feasibility & Discovery

Engineering Research

I analyzed database concurrency patterns in NoSQL configurations. I researched transactional locking algorithms to prevent two users from completing writes on the same property index simultaneously.

System Design

Software Architecture

Frontend Flutter Client (Dart 3.5 & GetX)
Backend API Firebase Backend API
AI Engine Content-Based Filtering (CBF Engine)
Database Cloud Firestore & GetStorage
Auth / Security Firebase Auth & Google Sign-In
Deployment Internal Architecture
Intelligence Layer

AI & Machine Learning Architecture

Engineered dedicated machine intelligence pipelines utilizing Content-Based Filtering (CBF Engine) for inference and dynamic routing.

The Solution

Solution Implementation

We engineered a single codebase dual-role Flutter architecture allowing instant Guest/Host mode switching without re-authentication. Built a client-side Behavioral Recommendation Engine with Content-Based Filtering (CBF) and a Date-Overlap Prevention Algorithm querying real-time Firestore bookings.

Tradeoffs & Rejected Approaches

I rejected optimistic UI updates in booking flows. While optimistic updates make interfaces feel instant, they hide write validation delays, which can lead to double-booking confusions. I opted for strict transaction blocks instead.

Engineering Optimizations

I optimized database query filters by writing compound indices in Firestore, lowering read charges by 35% during search executions.

Metrics & Results

Quantifiable Impact & Metrics

0% booking concurrency errors, 35% faster checkout transactions, and seamless one-click host/guest toggling.

Technology

Technology Stack

FlutterDart 3.5GetXFirebase AuthCloud FirestoreFirebase Realtime DBGetStorageCached Network Image
Capabilities

Key Features & Functional Scope

Unified Authentication & Dynamic Host/Guest Role Switching

Behavioral Recommendation Engine calculating Content-Based Filtering weighted scores (+1 View, +3 Search, +5 Favorite)

Date-Overlap Prevention Algorithm blocking double-bookings via real-time Firestore queries

Comprehensive Host Dashboard monitoring total earnings, active listings, and total reservations

Host Manual Walk-In Booking Creation to synchronize offline guests with the digital calendar

Remote Administrator Kill-Switch (`isAppActive`) for instant application access suspension

Cross-Device Favorites Synchronization via Firestore User Documents

Visuals

Project Showcase

Project screenshot
Takeaways

Lessons Learned & Takeaways

NoSQL databases require structural transaction locks during checkout writes to preserve data concurrency integrity.

Roadmap

Future Scope & Improvements

Migrating list updates to localized databases to support completely offline listing drafts.

Ready to Build Something Extraordinary?

Initiate the onboarding workspace to scope out architecture requirements, timelines, and budget parameters.

Initiate Onboarding Workspace →