How sebqa/padeltid works
Project Type and Purpose
• The project is a Flutter mobile (and cross-platform) application that provides a user interface via the lib folder (with platform-specific subdirectories in android, ios, linux, macos, and windows).
• It uses several serverless functions (organized in the functions directory) to handle API calls (e.g., getClubs, getCourts, sendNotification, etc.) beyond the two mentioned in the instructions.
• The CI/CD pipeline defined in the .github/workflows directory deploys all backend (serverless) functions and static assets for the web version.
• Firebase is integrated (evidenced by firebase.json and firebase_options.dart) to support authentication, notifications, or real-time data.
File Structure Insights
• Frontend: The lib folder contains the bulk of the Flutter/Dart code along with UI screens, widgets, navigation, and service logic for making API calls. There are also platform-specific folders for android, ios, macos, etc. The assets directory holds images and localization JSON files.
• Backend: The functions directory contains multiple subdirectories, each representing a serverless function with its own lambda_function.py and requirements.txt. These functions serve as API endpoints.
• CI/CD: The .github/workflows directory contains YAML files to deploy both the lambda functions and deploy GitHub pages, showcasing automation that pushes serverless code into production.
• Configuration: Files like firebase.json, pubspec.yaml, and others indicate dependencies and project configurations.
Elements
– Flutter Frontend (with divisions for UI, service layer, and platform-specific implementations)
– Firebase Services (authentication, notifications, etc.)
– Data flow from the Flutter app to the backend functions.
– CI/CD pipeline triggering deployments into the backend environment.
– Interaction between the app and Firebase services.
Additional Details to Emphasize
• To include not only getClubs and getCourts but also note that the Flutter core code makes API calls to multiple endpoints.
• Automation of backend deployments via CI/CD pipelines (deploy-lambdas.yml and deploy_github_page.yml).
• Clearly delineate the boundaries between mobile app functionalities and serverless backend responsibilities.