← Back to Documentation Home

Customer App Documentation

A premium food delivery & dining reservation app — this guide covers features, architecture, setup, customization, and release.

Customer App Documentation

A premium food delivery & dining reservation app — this guide covers features, architecture, setup, customization, and release.

Table of Contents
  1. Welcome
  2. App screenshots
  3. Key features
  4. Technology stack
  5. Technical requirements
  6. Architecture & folder structure
  7. Support
1 Overview

Welcome#

The FoodFeast Customer App is a food delivery and dining reservation mobile application built for iOS and Android.

The codebase is developed using Flutter and uses BLoC for state management with a clean, feature-based folder structure. It handles user authentication, restaurant discovery, menu browsing, cart management, dine-in table reservations, and real-time order tracking with Google Maps integration.

This document covers the Flutter customer app. For server deployment, database setup, Firebase configuration, and payment gateway setup, refer to the Installation & Setup Guide.

Important: The Rider App is NOT included in this package.
New here and not a developer? Start with the Feature Walkthrough for a plain-English tour of the app, or the Backend Content Guide for how to run the Admin Panel day-to-day.
Pre-Configured Demo Credentials & Self-Hosted License Notice:

Important Notice for Buyers: FoodFeast is a complete self-hosted source code solution (Laravel Backend + Web Portal + Flutter Customer App). You are purchasing the full source code for installation on your own hosting servers and domains. This is not a SaaS subscription service. All pre-configured credentials below are supplied strictly for local setup, quality review, and demo evaluation purposes. You should change default passwords upon deployment.

Super Admin (Web Portal): Email: superadmin@foodfeast.com  |  Password: 12345678
Customer (Mobile App): Email: demo.user@foodfeast.com  |  Password: 12345678

⚠️ MANDATORY DISCLOSURE: Third-Party Services & Possible Costs#

To operate FoodFeast in production, platform buyers must register their own developer accounts with external third-party service providers. While the FoodFeast codebase does not charge recurring usage fees, external APIs require individual accounts and may incur operational fees based on platform usage:

  • Google Maps Platform: Requires buyer's own API key and active Google Cloud billing account. Enables customer geolocation, address autocomplete, interactive map pin drop, zone polygon validation, and real-time delivery tracking. Must enable 5 APIs: Maps SDK for Android, Maps SDK for iOS, Places API, Geocoding API, and Directions API. (Google Cloud provides $200 free monthly credit; usage beyond credit is billed per Google pricing).
  • Firebase by Google: Requires buyer's own Firebase project. Used for real-time push notifications (`firebase_messaging`), device token binding, and order alert broadcasts (`firebase_core`). (FCM push notifications are 100% free on Firebase Spark tier; Blaze tier cloud functions may incur usage costs).
  • Payment Gateways (Stripe & PayPal): Requires buyer's own merchant accounts. Standard transaction processing fees apply per checkout (e.g., Stripe ~2.9% + $0.30 per successful payment; PayPal merchant fees).
  • Transactional SMTP / Email Provider: For password reset OTPs, order receipts, and admin notices (Mailgun, SendGrid, Amazon SES, or standard web hosting SMTP).
  • Developer Store Publishing Accounts: Publishing the mobile applications requires an active Apple Developer Program membership ($99/year) and Google Play Console registration ($25 one-time fee).
  • Web Hosting & Domain: A VPS or cloud server with PHP 8.2+, MySQL 8.0+, and SSL is required to host the Laravel API and web dashboard.

📱 Preview

App screenshots#

A glimpse of the premium FoodFeast user experience across key screens.

Home Dashboard Home Dashboard
Restaurant View Restaurant View
Dine-In Booking Dine-In Booking
Order Tracking Order Tracking
Wallet Wallet

3 Overview

Key features#

🔐Secure AuthenticationSeamless login and registration workflows with OTP verification.
📍Smart Location & MapsGoogle Maps + geolocation for precise address mapping and nearby restaurant discovery.
🏠Dynamic Home DashboardBeautifully crafted dashboard with categories, top restaurants, and active promotions.
🍔Restaurant & Product DetailsRich, detailed views for restaurants, menus, and individual food items.
🛒Advanced Cart ManagementEasy-to-use basket with quantity adjustments and custom instructions.
💳Flexible Payment MethodsMultiple payment options including a built-in In-App Wallet system.
🎟️Coupons & VouchersBuilt-in promotion engine to apply discounts seamlessly during checkout.
🛵Real-Time Order TrackingLive status updates with interactive tracking maps.
🍽️Dine-In BookingExclusive feature — customers reserve tables directly at their favorite restaurants.
💬In-App ChatsDirect, real-time communication channel between customer and restaurant/rider.
⭐Ratings & ReviewsCustomers rate meals, restaurants, and even delivery riders.
❤️Favourites & Liked ItemsQuick access to frequently ordered items and beloved restaurants.
🌍Multilingual SupportOut-of-the-box support for English and Arabic with easy_localization.
🔔Push NotificationsFirebase Messaging & Awesome Notifications keep users engaged.
👑Subscription SystemPremium membership / subscription flows natively supported.
🔍Smart SearchComprehensive search functionality to find restaurants, dishes, and categories.

4 Overview

Technology stack#

Layer Technology
Framework Flutter (SDK ^3.5.4) · Dart ^3.5.4
State management BLoC — flutter_bloc ^9.0.0
Routing Auto Route — auto_route ^7.8.4 (code-generated, type-safe)
Networking dio ^5.7.0
Dependency injection GetIt — get_it ^8.0.3
Localization easy_localization ^3.0.7 (JSON translation files)
Maps & location google_maps_flutter ^2.10.1
UI / UX ScreenUtil (responsive sizing) · Google Fonts · Carousel Slider
Image caching cached_network_image ^3.4.1

5 Overview

Technical requirements#

Development machine#

Requirement Minimum version
Flutter SDK 3.5.4 or higher (Dart SDK included)
Android Studio 2023.1.1+ (Hedgehog or higher)
Xcode (iOS builds) 15.0 or higher (macOS required)
Operating system Windows 10/11, macOS 12+, or Ubuntu 20.04+
RAM 8 GB minimum (16 GB recommended)
Disk space 25 GB free

Backend / server hosting#

Requirement Minimum version
PHP 8.1 or 8.2 with extensions: bcmath, ctype, curl, fileinfo, gd, json, mbstring, openssl, pdo, pdo_mysql, tokenizer, xml, zip
Database MySQL 8.0+ or MariaDB 10.5+ (collation utf8mb4_unicode_ci)
Web server Apache 2.4+ (with mod_rewrite) or Nginx 1.18+
Tools Composer 2.x, SSL certificate (HTTPS is required)
Important — Third-Party Account Requirements

Firebase and Google Maps require the buyer to create and pay for their own accounts. These are third-party services not included in this purchase.

Firebase: Required for push notifications. Create a free Firebase project at console.firebase.google.com. Usage beyond the free tier (Spark plan) may incur costs — see Firebase pricing.

Google Maps: Required for address selection, nearby restaurant discovery, and live order tracking. You must create a Google Cloud project and enable billing. Google provides a $200/month free credit. See Google Maps pricing.

See the Firebase Setup Guide and Google Maps Setup Guide for step-by-step configuration instructions.

6 Codebase

Architecture & folder structure#

The codebase follows a highly modular, Feature-Based Architecture — clean, easy to read, and highly scalable.

See the Architecture Flowchart for how the Customer App, Admin Panel, API, and third-party services connect.

lib/
├── app/            # App initialization, constants, theme configuration
│   ├── constants/  # API URLs, enums, keys, media query constants
│   └── theme/      # App-wide ThemeData and color definitions
├── config/         # Localization manager and global configuration
├── core/           # DI container, extensions, and initialization logic
│   ├── di_container.dart
│   ├── extensions/
│   └── initialization/
├── pages/          # Feature-based UI screens
│   ├── bottom_nav_bar/
│   ├── categories/
│   ├── forget_password/
│   ├── home/
│   ├── location/
│   ├── login/
│   ├── orders/
│   ├── payment_methods/
│   ├── product_detail/
│   ├── profile/
│   ├── resturant/
│   ├── search/
│   ├── settings/
│   ├── signup/
│   ├── splash/
│   ├── vouchers/
│   └── wallet/
├── routes/         # AutoRoute configuration and navigation guards
├── translations/   # JSON files for easy_localization
├── widgets/        # Global reusable UI components
└── main.dart       # The main entry point

Layer breakdown#

Layer Location Responsibility
Pages lib/pages/ UI screens grouped by feature — each with its own BLoC/Cubit, presentation, and widgets
Business logic lib/pages/*/bloc/ BLoC Cubits for state management — separates UI from data
Core & config lib/core/ · lib/config/ DI container (GetIt), API clients, theme tokens, constants
Shared UI lib/widgets/ Reusable components (buttons, text fields, cards) for design consistency

7 Help

Support#

For assistance with bug reports or questions regarding setup:

  • 💬 Open a ticket via the CodeCanyon support tab on the item page
  • 📧 Email support directly: info@zainclouds.com (Mon–Fri, 9am–6pm GMT+5)
If you find FoodFeast useful for your business, consider leaving a 5-star rating on CodeCanyon.
FoodFeast · Customer App Documentation v1.0 · © FoodFeast