Logo Lanfrica

Udoddy/DamuCare

Domain:

healthcare

Record type:

software
Creator:
Udo
Host:
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 ``` # …