Skip to content

React, FastAPI app that, using a form and a machine learning model, can predict whether a patient will show up for a medical appointment or not.

Notifications You must be signed in to change notification settings

polejowska/mappshow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mappshow

Medical APPointment SHOW

Demo

Screenrecorder-2023-05-06-11-37-13-672.mp4

Description

mappshow is a cross-platform application that allows to predict whether a patient will show up for a medical appointment or not. The application is based on a dataset of medical appointments in Brazil and is inspired by the Kaggle challenge.

Tech stack

The application is built using React Native and Expo.

Using FastAPI, the application exposes a REST API that allows to predict whether a patient will show up for a medical appointment or not.

FastAPI documentation is available at http:https://localhost:8000/docs.

Installation

Prerequisites

Run the application

Run the server FastAPI

Set up virtual environment and install dependencies, then run the server:

cd backend

python main.py

Run the client React Native

Use the Expo Go app to scan the QR code displayed in the terminal after running the following commands:

cd frontend

npm install

npm start

When running the application, pay attention to ports used by the server and the client.

For Expo Go mobile app it is advised to change the configuration to appropriate ports and IP address. For checking the app with Expo Go, the IP address should be the same as the one used by the server, can be the private IP address of the computer running the server. Set the appropriate IP_ADDRESS in App.js and main.py for correct communication between the client and the server.

About

React, FastAPI app that, using a form and a machine learning model, can predict whether a patient will show up for a medical appointment or not.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages