Skip to content

DorianLin/Place-and-Recovery

Repository files navigation

Place&Recovery🧠 (GT Team 1358)


Download on the App Store Get it on Google Play

Release Node License

Table of Contents

Introduction

The project is a mobile application for mental health and risk stratification based on neighborhood characteristics for both Apple and Android platforms. Virtually no research exists examining the daily influence of environmental factors on the development of mental health disorders such as schizophrenia. Our solution is a mobile app that collects real-time data (daily survey) on the status of the user’s mental health such as their feelings and emotions in relation to their location during the day. We can compile and organize this data into a database for our client and other clinicians to analyze and can better treat their own patients and gain knowledge of the development of mental health disorders.

The app is available for both iOS and Android platforms.


Features

Version 1.0.0

  • The app can handle multiple free-response questions.
  • The Home Screen can show the complete status of the questionnaire and the timeclock for the next questionnaire.
  • The app only allows users to take questionnaires within the available period.
  • The Welcome Screen that is displaying the general information and guidance for the user the first time opened the application.
  • Users can reset notification schedules by long-pressing the button on the home page.
  • A profile screen that can display the user's personal information and allow them to access the additional demographics form.
  • The progress screen contains bar charts that will be used to illustrate the user's progress/trends.
  • Client can export user data to CSV through links.
  • Published the app to Apple App Store.
  • Published the app to Google Play Store.




Known Issues

Version 1.0.0

  • The notification might not work properly if the users change the system time. Users can reset notification schedules if the notification don't work.

Fixed Bugs

Version 1.0.0

  • Fixed locations not working on Android devices.

How to Run

  • First, make sure you have installed Node 16 LTS or greater installed.
  • Install Visual Studio Code
  • On Visual Studio Code: Create a new terminal via the Terminal menu with Terminal > New Terminal.
  • Install the latest verion of Expo CLI:
npm i -g expo-cli
  • Make sure you have downloaded the project files. Go under the project directory, and install all dependencies:
cd ./app/src
npm i
  • Start the project with
expo start
  • Scan the QR code with Expo Go (Android) or the Camera app (iOS) to run the app on your phone.
  • To run the server locally, go under the server directory:
cd ./server
  • Then follow the instructions in server/README.md to run the server.
  • To submit the app to Apple App Store and Google Play Store, please follow the EAS Submit instructions.

Frameworks, Tools, and Coding Languages

License

This project is licensed under the MIT license.

Troubleshooting

  1. Users can’t receive notification.
  • Notification seems to have bugs after we did beta testing on Apple TestFlight. Users can try to reset their notification schedules by long pressing the “Not Available” or “Start” button on the home screen. There will be an option to reset the notification. Please reload the app after reset.
  1. The app can’t automatically sign in or can’t load the questionnaire.
  • When opening the app, the app should be able to automatically sign users in if they have signed in before. However, the app currently doesn’t have a loading screen, so the users might need to wait a few seconds depending on the network conditions.
  1. Users can’t submit the questionnaire.
  • The app will fetch users’ location when they are answering the questionnaire. When the click “Submit”, the app will check if the location is fetched. If not, it might take a few seconds to fetch the location again and upload the answers to backend (which can also take a few seconds depending on the network conditions). Users can wait a few seconds and the answers should be recorded automatically.
  1. Some Android users might can’t submit questionnaire.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published