An open API service indexing awesome lists of open source software.

https://github.com/asifrahaman13/sniffle_mobile

🎉 Front end repository for the mobile application which aims at making the health of the users better leveraging the use of AI.
https://github.com/asifrahaman13/sniffle_mobile

firebase javascript reactnative typescript

Last synced: about 2 months ago
JSON representation

🎉 Front end repository for the mobile application which aims at making the health of the users better leveraging the use of AI.

Awesome Lists containing this project

README

          

# Getting Started

This is the mobile application repository for healthcare management. Users can have end to end recommendation, data entry, data, graphs of their healthcare data over mobile device. Backend is done through FastAPI server. The backend repository can be found here:

https://github.com/asifrahaman13/sniffle_backend.git

***You must run the backend repository to run this application.***

***However you can also try using the hosted backend url. If that works you do not need to run the backend repository locally**

## Demos

## Features implemented:
- Login to your account (Firebase)
- Enter your details through friendly conversation and our AI agents will help you to extract the qualitative as well as quantitative data from it automatically. Feel free to make mistakes. Our agent will correct you 😉
- Get personalized weeekly recommendations on your healthcare data.
- Use end to end voice to interact with the agents. 🎤
- Get graphs to visulize and monitor your data. 📈
- Monitor diabetes in real time. 📉
- Get alerts/push notifications when our agent finds abnormality in your health. 🤖
- Upload picture to get the information of the disease you are having. 🖼️

## Note:

🚨 Please note that currently data is being saved only if you take full survey with the Chat or Voice agents.

## Clone

First clone the repository.

```bash
git clone https://github.com/asifrahaman13/sniffle_mobile
```

Next go to the root directory.

```bash
cd sniffle_mobile/
```

Note that the backend should be running. The backend repository can be found here: https://github.com/asifrahaman13/sniffle_backend.git.

You should enter the following data in your .env file of this application.

```bash
WEBSOCKET_URI=ws://10.0.2.2:8000
GOOGLE_CLIENT_ID=
BACKEND_URI="http://10.0.2.2:8000"
DEEPGRAM_API_KEY=
```

## Step 1: Start your Application

Let Metro Bundler run in its _own_ terminal. Open a _new_ terminal from the _root_ of your React Native project. Run the following command to start your _Android_ or _iOS_ app:

### For Android

```bash
# using npm
npm run android

# OR using Yarn
yarn run android
```

## Step 2: Start the Metro Server

First, you will need to start **Metro**, the JavaScript _bundler_ that ships _with_ React Native.

To start Metro, run the following command from the _root_ of your React Native project: [yarn is recommended]

```bash
# using npm
npm start

# OR using Yarn
yarn run start
```

If everything is set up _correctly_, you should see your new app running in your _Android Emulator_ or _iOS Simulator_ shortly provided you have set up your emulator/simulator correctly.

This is one way to run your app — you can also run it directly from within Android Studio and Xcode respectively.