Convert Figma logo to code with AI

WorldHealthOrganization logoapp

COVID-19 App

2,127
510
2,127
149

Quick Overview

The WorldHealthOrganization/app repository is an official COVID-19 mobile application developed by the World Health Organization (WHO). It aims to provide accurate and timely information about the COVID-19 pandemic to users worldwide. The app is built using Flutter, allowing for cross-platform development for both iOS and Android devices.

Pros

  • Provides official, reliable information directly from the World Health Organization
  • Cross-platform development using Flutter, ensuring consistency across iOS and Android
  • Open-source project, allowing for community contributions and transparency
  • Supports multiple languages for global accessibility

Cons

  • Limited functionality beyond providing information (e.g., no contact tracing or symptom tracking)
  • Requires frequent updates to maintain current information about the pandemic
  • May face challenges in adoption due to competition from other COVID-19 apps
  • Potential privacy concerns related to data collection and usage

Code Examples

// Example of fetching COVID-19 statistics
Future<CovidStatistics> fetchCovidStatistics() async {
  final response = await http.get('https://api.who.int/covid-19/statistics');
  if (response.statusCode == 200) {
    return CovidStatistics.fromJson(json.decode(response.body));
  } else {
    throw Exception('Failed to load COVID-19 statistics');
  }
}
// Example of displaying a localized message
Text(
  AppLocalizations.of(context).translate('stay_home_message'),
  style: Theme.of(context).textTheme.headline6,
)
// Example of implementing a custom WHO-themed button
class WHOButton extends StatelessWidget {
  final String text;
  final VoidCallback onPressed;

  WHOButton({@required this.text, @required this.onPressed});

  @override
  Widget build(BuildContext context) {
    return ElevatedButton(
      child: Text(text),
      style: ElevatedButton.styleFrom(
        primary: WHOColors.blue,
        onPrimary: Colors.white,
        shape: RoundedRectangleBorder(
          borderRadius: BorderRadius.circular(8),
        ),
      ),
      onPressed: onPressed,
    );
  }
}

Getting Started

To get started with the WHO COVID-19 app development:

  1. Clone the repository:

    git clone https://github.com/WorldHealthOrganization/app.git
    
  2. Install Flutter and dependencies:

    flutter pub get
    
  3. Run the app in debug mode:

    flutter run
    

For more detailed instructions, refer to the ONBOARDING.md file in the repository.

Convert Figma logo designs to code with AI

Visual Copilot

Introducing Visual Copilot: A new AI model to turn Figma designs to high quality code using your components.

Try Visual Copilot

README

COVID-19 App

Client CI Server CI

Flutter Dart Java App Engine Firebase

COVID-19 app

GoalWhere to go
Where do I get the app?This app is currently only available in Nigeria. If you are from elsewhere you should consult the WHO's COVID-19 website.
How can I help out?We are humbled at the outpouring of support we have received from all over the world and are eager to have you contribute and apologize that we are still in the early process of figuring out how to manage all the contributions. Please bear with us while we organize into smaller teams working in parallel so we can then on-board more volunteers. Until then, please keep filing issues, and fill out the volunteer form here. We’ll get back in touch. You can then read the onboarding documentation.
There's a problem with the app - help!File a report to help us improve. Choose "Bug Report" here.
I have an idea for the app!Choose "Feature Request" here.
How do I build the app myself?See the development guide.
Who can I talk to about product, engineering, or design?Reach out to our functional leads.
How does the app work?See our engineering design documentation.

Development Builds

Please note that if you run the app from the GitHub repository, you are using a development-only build of this app not intended for public use. You agree that you have no expectation of privacy when using this build and understand that the content of the app may not have been reviewed by the World Health Organization.