Logo Lanfrica

zuck30/AfyaChecker

Domain:

healthcarenatural language processing

Record type:

software
Creator:
zuc
Host:
AfyaChecker is a web application that allows users to enter health symptoms in Swahili/English and get a preliminary diagnosis and advice. # Afyachecker MVP Scaffold. &descAlign=79&fontAlign=50&descAlignY=70&fontColor=f7f5f5) 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. --> Tech Stack **Frontend** **Backend** **Tools & Platforms** 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: ```bash cd backend ``` 2. Install the required Python packages: ```bash pip install -r requirements.txt ``` 3. Set your OpenAI API key as an environment variable: ```bash export GROQ_API_KEY='your_GROQ_API_KEY' ``` 4. Run the backend server: ```bash uvicorn main:app --host 127.0.0.1 --port 8000 ``` ### Frontend 1. Navigate to the `frontend` directory: ```bash cd frontend ``` 2. Install the required npm packages: ```bash npm install ``` 3. Start the React development server: ```bash npm start ``` ### Afyachecker overview The App page User's getting a request. ## Usage 1. Open your web browser and navigate to `localhost`. 2. Interact with an AI. I need coffee to stay alive. Yes i'm that Dumb. ## 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!