0ms
Sync LatencyInstant reactive UI updates via Firebase Stream listeners
Instant reactive UI updates via Firebase Stream listeners
Smart cart query auto-increments quantity instead of duplicating
Payment → Packaging → In Transit → Delivered lifecycle
Home, Wishlist, Smart Basket, Order Tracking, and Profile
Smooth Material 3 Hero widget image transitions
Firebase Auth + Firestore user profile dual-write
Traditional mobile e-commerce applications often suffer from sluggish manual-refresh paradigms, fragmented state management, and cart duplication issues. The goal of DeliFood was to construct a responsive, stream-driven food ordering application built natively in Flutter and backed by Google Cloud Firestore.
Core Mandate: Build an intuitive mobile food delivery interface delivering instant real-time synchronization for products, carts, wishlists, and order delivery statuses with zero latency.
Explore the reactive mobile interface of DeliFood — featuring real-time stream-driven catalogs, smart cart quantity deduplication, fluid Hero animations, and multi-stage delivery tracking.
Official mobile application presentation flyer showcasing DeliFood's on-demand culinary delivery architecture, modern iOS & Android UI design, and real-time cloud ordering.
Engineered for smooth, high-throughput mobile retail — combining reactive data streaming, gesture-driven cart management, real-time wishlist toggling, and multi-stage delivery logistics.
Every core view subscribes directly to Cloud Firestore snapshots via StreamBuilder, updating catalog items, cart quantities, and wishlist states instantaneously without manual pull-to-refresh.
Intelligent cart operations check for existing items in user collections, auto-incrementing quantity (quantity + 1) on duplicate picks and supporting swipe-to-dismiss deletion.
Secure Firebase Authentication combined with atomic Firestore user document writes storing demographic metadata, birth dates via date picker, and server timestamps.
Comprehensive order lifecycle tracking guiding customers from order placement to doorstep arrival, complete with granular transit checkpoints and horizontal item summaries.
Each module is engineered with robust transactional boundaries, modular isolation, and comprehensive audit trails.
Real-time product discovery engine streaming directly from Cloud Firestore with zero manual refreshes.
From cart checkout to doorstep delivery — every order transitions through an asynchronous Firestore state machine with automated subcollection synchronization.
Customer selects items, validates cart quantities, and inputs delivery address via modal bottom sheet. Subtotal and flat delivery fees are computed dynamically.
Kitchen receives order status 'Processing'. Cart items are atomically migrated to /orders and cleared from /cart to prevent duplicate fulfillment.
Driver is assigned. Live stepper updates to 'In Transit' with timestamped sorting checkpoints until final delivery verification.
During checkout, all cart documents are atomically read, transformed into order items, and deleted from the active cart in a single batch sequence. This ensures customers never experience ghost items or accidental double checkouts.
Engineered with a clean separation between reactive Flutter presentation widgets, a centralized Data Access Object (DatabaseService), and Google Cloud Firestore streams.
Cross-platform mobile application utilizing StreamBuilder, custom Open Sauce typography, Hero transition animations, and Dismissible gestures.
Centralized Data Access Object abstracting Firestore CRUD operations, stream mappings, smart deduplication queries, and database seeding.
Token-based stateless authentication engine enforcing email/password validation, credential hashing, and secure user session management.
Distributed cloud document database delivering real-time snapshot streams across products, user profiles, carts, wishlists, and order collections.
Bundled Open Sauce One font family, CustomIcon glyphs, and local high-res food combo image assets.
A modern engineering stack combining high-throughput user interfaces, modular backend architecture, and resilient data layers.
Clear boundary separation between system components, paired with modular schemas and structured repositories.
Global catalog collection containing title, price, rating, category tags, local/network image paths, and culinary descriptions.
User profile document storing full name, email, birth date, delivery address, and server-side creation timestamp.
Active user basket items with smart quantity counters (+1 auto-increment) and addedAt server timestamps.
User favorited items with single-tap toggle capability (atomic write or delete).
Order history recording purchased items array snapshot, total_price, status progression, and order_date.
Cloud security architecture combining Firebase Auth token verification, user-scoped Firestore access, and server-side timestamp validation.
Stateless token-based authentication with granular exception handlers for invalid-email, wrong-password, and brute-force too-many-requests throttling.
Cart, wishlist, and order subcollections are strictly scoped under each user's unique uid, preventing cross-user data exposure.
Transactional operations utilize FieldValue.serverTimestamp() to neutralize client device clock tampering and ensure audit integrity.
Pre-write query inspection prevents duplicate rows, consolidating identical items into a single document with incremented quantities.
How critical technical bottlenecks were overcome and verified under real production conditions.
Preventing duplicate cart items without introducing heavy client-side state bloat. Solved by implementing a pre-write Firestore query in addToCart() that inspects existing document titles, incrementing quantity (+1) if already present or creating a new document with quantity: 1.
Maintaining fluid 60 FPS scrolling while streaming real-time catalog and search queries. Solved by leveraging client-side substring filtering over active Firestore snapshot streams, eliminating redundant read index queries.
Designing an engaging multi-stage order tracking visualization. Built a custom 4-stage delivery stepper paired with chronological transit checkpoints and horizontal item summaries.