Skip to content

Releases: CodeWithLakxsh/biteo-business

Biteo Business v1.0.0

Choose a tag to compare

@CodeWithLakxsh CodeWithLakxsh released this 13 Aug 11:25

Biteo Business v1.0.0

Official Website

Biteo's official website: https://www.biteo.in/

Overview

Biteo Business is a Flutter-based admin dashboard that operates the Biteo food-delivery/restaurant platform. It manages vendors, users, orders and earnings, offers and coupons, notifications, support tickets, and AI-assistant conversations, backed by Google Firebase.

Features

  • Admin dashboard with vendor, user, order, and earnings views.
  • Vendor onboarding (Firebase Auth account creation, logo upload to Cloud Storage, Firestore vendor document with geolocation).
  • User management (list, block/unblock, per-user analytics, order history).
  • Vendor management (activate/block, open/closed toggle) and join-request approval.
  • Notifications: Firestore-based targeting and push via the Cloud Run endpoint.
  • Offers and coupons management.
  • Support tickets and admin chat.
  • AI chat monitoring and AI settings management.
  • Telegram alerts for support tickets, AI representative requests, and blocked users.

Improvements

  • Repository hygiene: .gitignore, .env.example, CI workflow added.
  • Documentation: README.md and docs/ (architecture, development, deployment, environment, security).
  • CI validates analysis, tests, and a web build on every push/PR (pinned to Flutter 3.41.6 to match the project toolchain).

Bug Fixes

  • Replaced the incompatible default counter widget test with a valid smoke test.
  • Removed an orphaned login_screen.dart that referenced the missing google_sign_in package, and unused imports flagged by flutter analyze.

Requirements

  • Flutter SDK (stable), Dart ^3.11.4.
  • A Firebase project (Authentication, Firestore, Storage) for Android and Web targets.
  • Optional: a Telegram bot for operational alerts.

Installation

git clone <repository-url> biteo-business
cd biteo-business
flutter pub get
flutterfire configure -p <your-firebase-project-id>
flutter run --dart-define=ADMIN_TOTP_SECRET=<your-base32-secret>

Known Limitations

  • Admin access uses a client-side TOTP gate — see Security Notes. This is a CRITICAL SECURITY ARCHITECTURE ISSUE and must be replaced with server-side authentication before production use.
  • Firebase options in lib/firebase_options.dart ship as placeholders and must be regenerated against a real project.
  • Release Android builds currently sign with the debug key (see android/app/build.gradle.kts).
  • Only Android and Web are configured for Firebase; other platforms throw UnsupportedError.
  • vendors_screen.dart and sidebar_widget.dart contain unused/orphaned placeholder code.

Security Notes

  • Do not commit secrets: google-services.json, .env, keystores, or Telegram tokens.
  • The admin TOTP secret is supplied at compile time via ADMIN_TOTP_SECRET; rotate any previously exposed secret.
  • Firestore/Storage security rules and the Cloud Run endpoint authentication must be reviewed and hardened in the Firebase console and Cloud Run service. See docs/security.md.

Assets

  • biteo-business-v1.0.0.zip — clean source package.
  • SHA256SUMS.txt — SHA-256 checksum of the release ZIP.