Skip to content

AfyaChecker is a web application that allows users to enter health symptoms in Swahili/English and get a preliminary diagnosis and advice.

License

Notifications You must be signed in to change notification settings

zuck30/AfyaChecker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Afyachecker MVP Scaffold.

Banner

AfyaChecker is a web application that allows users to prompt their health symptoms in both Swahili and English and get a preliminary diagnosis and advice. The frontend is built with React and the backend is a FastAPI server that uses the ChatGPT API for analysis.

afyachecker FastAPI OpenAI API


Coding GIF

Tech Stack

Frontend

technologies

Backend

technologies

Tools & Platforms

technologies

Quick Start

Prerequisites

  • Python 3.8+
  • Node.js 14+
  • OpenAI Developer Account

Project Structure

  • frontend/: Contains the React application.
  • backend/: Contains the FastAPI backend.

Setup and Installation

Backend

  1. Navigate to the backend directory:
    cd backend
  2. Install the required Python packages:
    pip install -r requirements.txt
  3. Set your OpenAI API key as an environment variable:
    export GROQ_API_KEY='your_GROQ_API_KEY'
  4. Run the backend server:
    uvicorn main:app --host 127.0.0.1 --port 8000

Frontend

  1. Navigate to the frontend directory:
    cd frontend
  2. Install the required npm packages:
    npm install
  3. Start the React development server:
    npm start

Usage

  1. Open your web browser and navigate to http://localhost:3000.
  2. Interact with an AI.

I need coffee to stay alive. Yes i'm that Dumb.

Buy Me A Coffee

License

This project is licensed under the MIT License, see the LICENSE.md file for details.

Support

If you have any questions or issues, please open an issue on GitHub or contact mwalyangashadrack@gmail.com

Enjoy!

About

AfyaChecker is a web application that allows users to enter health symptoms in Swahili/English and get a preliminary diagnosis and advice.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •