How ri40/book-app works
Project type and purpose
• This is a cross-platform mobile & desktop “book_app” built with Flutter.
• It targets Android, iOS, Linux, macOS, Windows, and Web via a single Dart codebase.
• Its domain: a book catalog/shopping app with user and admin roles, using GetX for state & navigation, and Firebase for backend services.
File structure
• Top-level “android”, “ios”, “linux”, “macos”, “windows”, “web” directories each contain platform‐specific host code & build configurations.
• “lib/” houses the Dart application:
• Routes/routes.dart – central navigation definitions.
• firebase_options.dart – Firebase project config.
• logic/ – GetX bindings and controllers (Auth, NavBar, Product, Setting).
• model/ – data classes (Product, User, MenuItem).
• utils/ – shared helpers (theme, text utils).
• views/ – UI layer, subdivided into screens (auth, admin, user, settings, etc.) and reusable widgets.
• Configuration: pubspec.yaml (dependencies), google‐services.json and GoogleService-Info.plist (Firebase), platform build files (Gradle, Xcode, CMake).
README
• It’s the default Flutter template README. No custom architecture docs are provided.