Skip to content

A game for medical professionals built with Google's Gemini model.

Notifications You must be signed in to change notification settings

adityathakurxd/doctordiagnose

Repository files navigation

Doctor Diagnose

A Flutter-based application designed for medical professionals to enhance their diagnostic skills by guessing possible causes of symptoms using Google's Gemini model.

➡️ Try it out here: dodiagnose.web.app

Doctor Diagnose Banner

Disclaimer

This game is intended for educational purposes only and should not be used as a substitute for professional medical advice, diagnosis, or treatment. Always seek the advice of your physician or other qualified health provider with any questions you may have regarding a medical condition.

Getting Started

  1. Fork the repository and clone it to your system
  2. Navigate to the project directory
    cd doctordiagnose
    
  3. Install dependencies
    flutter pub get
    
  4. Rename the file called .env.example to .env in the server/ directory and add your API key. To use the Gemini API, you'll need an API key. If you don't already have one, create a key in Google AI Studio.
    GEMINI_API_KEY = YOUR API KEY
    
  5. Rename the file called .env.example to .env in the server/ directory and add your server URL.
    SERVER_URL = YOUR SERVER URL
    
  6. This project uses envied to read environment variables. Run the following command to generate an env.g.dart file using build_runner
    dart  run  build_runner  build  -d
    
  7. Run the application
    flutter run -d chrome
    
  8. Open a new terminal, navigate to the server/ directory, install npm packages and run the server.
    cd server
    npm install
    npm run dev
    

Contributing:

We welcome contributions to improve and expand the functionality of this game. If you'd like to contribute, please follow our contribution guidelines.

Credits

Google Cloud credits are provided for this project. #GeminiSprint

Illustrations

The characters used in this project are from the Desi Log Illustration Pack, a free resource providing mix-and-match components for diverse Indian characters, made by Juhi Chitra.