StayHub | Hotel and Resort Booking Flutter App icon

StayHub | Hotel and Resort Booking Flutter App

Hot or Not
StayHub | Hotel and Resort Booking Flutter App

Description

AI Disclosure: AI tools were used extensively in creating this item. Anthropic Claude was used to write and revise source code (Flutter app and PHP backend) and the documentation, and Google Gemini was used for graphic concept ideas. The author directed the work and is responsible for the item, which was checked with automated tests and testing on an Android emulator.

StayHub | Hotel and Resort Booking Flutter App

StayHub is a hotel and resort booking solution made of three parts: a Flutter mobile app for Android and iOS, a PHP REST API with MySQL, and a web Admin Panel with a separate Hotel Owner Portal. Guests browse hotels, pick a room and dates, apply promo codes and pay with Razorpay; the platform owner manages hotels, rooms, bookings, payments and partners from the admin panel.

What’s in the download

  • Mobile_App/ – Flutter source code (Android & iOS)
  • Backend_Admin/ – PHP REST API, Admin Panel, Hotel Owner Portal and web installer
  • Database/ – stayhub_db.sql (schema + sample data)
  • Documentation/ – HTML documentation with setup guides and screenshots
  • Licensing/ – third-party licenses

Third-Party Services & External Costs

  • Hosting: the backend needs your own server with PHP 8.1+ and MySQL, a domain and an SSL certificate (paid to your hosting provider; SSL is often free).
  • Razorpay: online payments use Razorpay. Test mode is free; live payments are charged Razorpay’s transaction fees and require Razorpay account activation (Razorpay serves Indian businesses, INR).
  • App stores: publishing requires a Google Play Developer account and/or an Apple Developer Program membership (fees charged by Google/Apple).
  • The app’s Demo Mode runs offline and needs none of these services.

Demo Instructions & Test Credentials

Use the credentials below to explore the live preview, admin dashboard, and mobile app in both Demo and Live modes:

1. Web Admin Panel (Live Preview)
• Demo URL: Open the included admin portal or your hosted backend at /backend/admin/
• Demo Email: admin@stayhub.com (or admin@example.com)
• Demo Password: demo123 2. Mobile App (Guest / Customer)
• Demo Email: demo@example.com
• Demo Password: demo123
• Demo Promo Code: STAYGOLD (15% discount)
• Note: In Demo Mode (default), any email and password combination is instantly accepted with pre-loaded mock data. 3. Hotel Owner Portal
• Demo URL: /backend/admin/
• Demo Email: owner@example.com
• Demo Password: demo123

Mobile App Features

  • Onboarding, login, sign-up, home with categories and destinations, search results with sorting and price filter, hotel details with tabs, room selection, booking summary, payment, confirmation, my bookings, wishlist and profile.
  • In-app Account Deletion with dedicated backend endpoint that purges personal data while retaining anonymised payment records for statutory accounting and tax audit compliance (Apple App Store Guideline 5.1.1(v) & Google Play Store compliance).
  • Hardware-backed platform secure storage for authentication JWT tokens (flutter_secure_storage via Android Keystore & iOS Keychain); zero tokens stored in unencrypted SharedPreferences.
  • Date range and guest selection carried through the whole booking flow.
  • Promo codes validated by the server in Live Mode.
  • Razorpay Checkout (cards, UPI, net banking, wallets); the booking is confirmed only after the server verifies the payment signature.
  • My Bookings with Upcoming, Completed and Cancelled tabs (loaded from the server in Live Mode).
  • Two modes: offline Demo Mode with sample data, and Live Mode connected to the included backend, which reports every error to the user.
  • Null-safe Dart, flutter analyze without issues, bundled fonts (no runtime font downloads).

Backend & REST API

  • JWT authentication for customers, role-based access for hotel owners and super admins.
  • Room inventory per night with database locking to prevent overbooking; unpaid reservations expire automatically.
  • Razorpay order creation, HMAC signature verification, signed webhooks and refunds on cancellation.
  • Coupons (percentage or fixed, minimum amount, maximum discount, usage limit, expiry).
  • Reviews from guests with completed stays, notifications and support tickets.
  • Web installer with requirement checks that locks itself after installation.

Admin Panel

  • Dashboard with bookings, revenue and commission.
  • Hotels and rooms management, hotel approvals for owner submissions, featured hotels.
  • Bookings, finance overview with commission and owner payouts, promo codes.
  • Review moderation, support ticket replies, user management (create hotel owners, suspend accounts), audit log.
  • App theme settings with preview, available to client apps through a read-only API endpoint.

Hotel Owner Portal

  • Owners see only their own hotels, rooms and bookings, submit new hotels for approval, add room types and check guests in and out.

Security

  • Prepared SQL statements, bcrypt password hashing, CSRF protection and hardened sessions in the admin panel, login rate limiting, output escaping, protected configuration folders.

Requirements

  • Mobile: Flutter 3.47.0+ (Dart 3.13.4+), Android 7.0+ (minSdk 24), iOS 15.0+
  • PHP: 8.1, 8.2 or 8.3 with pdo_mysql, curl, json, mbstring, openssl
  • Database: MySQL 5.7+ or MariaDB 10.4+
  • Web server: Apache 2.4 or Nginx, HTTPS for production

Not Included

  • Password reset by email, push notifications, SMS/OTP login, image uploads, and payment gateways other than Razorpay.

Images

All bundled images are the author’s own placeholder graphics. Replace them with your own hotel photos.

Authorkrishdevtechnology
Price$44
Sales0
Rating0 (0)
PublishedNov 18, 2026
Last UpdateNov 18, 2026
Compatible SoftwareFlutter 3.x
Mobile Files IncludedDart, YAML, JavaScript JSON, Layered PNG, CSS, PHP, HTML

Categories

Tags

flutterflutter full apphospitalityhotel bookinghotel managementluxury hotelmysqlphp admin panelrazorpayresort bookingroom reservationtravel appvacation rentalVilla Booking

External listing. code.market does not sell this product and does not process payment for it. Pricing, payment, delivery, licensing, refunds, and support are handled by the third-party merchant on its own website. We may earn an affiliate commission from a referral. Details.