Logo Lanfrica

Udoddy/DamuCare

Domaine:

healthcare

Type de record:

software
Créateur:
Udo
Hôte:
DamuCare a mobile app designed to guide and support first-time and regular blood donors through education, appointment scheduling, and impact tracking. Built to empower new donors in Tanzania # DamuCare - Flutter DamuCare is a mobile app designed to guide and support first-time and regular blood donors through learning about the process, appointment scheduling, and tracking, helping users overcome fear and stay committed to saving lives in Tanzania ## 📋 Prerequisites - Flutter SDK (^3.29.2) - Dart SDK - Android Studio / VS Code with Flutter extensions - Android SDK / Xcode (for iOS development) ## 🛠️ Installation 1. Install dependencies: ```bash flutter pub get ``` 2. Run the application: To run the app with environment variables defined in an env.json file, follow the steps mentioned below: 1. Through CLI ```bash flutter run --dart-define-from-file=env.json ``` 2. For VSCode - Open .vscode/launch.json (create it if it doesn't exist). - Add or modify your launch configuration to include --dart-define-from-file: ```json { "version": "0.2.0", "configurations": [ { "name": "Launch", "request": "launch", "type": "dart", "program": "lib/main.dart", "args": [ "--dart-define-from-file", "env.json" ] } ] } ``` 3. For IntelliJ / Android Studio - Go to Run > Edit Configurations. - Select your Flutter configuration or create a new one. - Add the following to the "Additional arguments" field: ```bash --dart-define-from-file=env.json ``` ## 📁 Project Structure ``` flutter_app/ ├── android/ # Android-specific configuration ├── ios/ # iOS-specific configuration ├── lib/ │ ├── core/ # Core utilities and services │ │ └── utils/ # Utility classes │ ├── presentation/ # UI screens and widgets │ │ └── splash_screen/ # Splash screen implementation │ ├── routes/ # Application routing │ ├── theme/ # Theme configuration │ ├── widgets/ # Reusable UI components │ └── main.dart # Application entry point ├── assets/ # Static assets (images, fonts, etc.) ├── pubspec.yaml # Project dependencies and configuration └── README.md # Project documentation ``` # …