Skip to content

alex-berezovsky/JID-Team_2330_Place_Recovery_Cont

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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.


Version 2.0.0

Features

  • No new features were added
  • Sprint was dedicated towards getting the app on TestFlight

Known Issues

  • Background location tracking works on Android but not iOS
  • Progress graphs do not update correctly with questionnaire submission
  • Attempting to upload MongoDB data to spreadsheets causes a “file missing” error (file is index.js)

Fixed Bugs

  • Error regarding questionnaire submission has been resolved

Version 1.4.0

Features

  • Ability to take the questionnaire at anytime added
  • Response validation/data cleaning for questionnaire answers added
  • Option to go back and change questionnaire answers added
  • UI Improvements to profile page added

Known Issues

  • questionnaire submission sometimes causes an error

Fixed Bugs

  • Progress graphs are now correctly updating with questionnaire submission

Version 1.3.0

Features

  • Background location tracking permissions functionality added

Known Issues

  • Nodejs build failing on github workflow
  • Background location tracking on newer iPhone versions may fail under certain instances

Fixed Bugs

  • Heroku is now working properly and up and running
  • Accessing the app has been fixed and login functionality has been restored
  • Unrecognized Nodejs version for package.json fixed

Version 1.2.0

Features

  • N/A for Sprint 2 (mainly focused on getting the app functioning)

Known Issues

  • Heroku web server still does not run (will be fixed as soon as possible, allowing for complete functionality of the app)

Fixed Bugs

  • Outdated libraries and packages are still there but are no longer a breaking issue
  • Got remaining vulnerabilities down to 19 from 30

Version 1.1.0

Features

  • N/A for Sprint 1 (mainly focused on getting the app functioning)

Known Issues

  • 54 packages in need of updates were identified.
  • 47 vulnerabilities of varying criticality (3 low, 31 high, 5 critical) were identified, and 17 were resolved. 30 vulnerabilities remain to be fixed.
  • We were unable to run Heroku, which is necessary to run the app.
  • Our team plans to resolve such compatibility and dependency issues with the outdated packages, libraries, and vulnerabilities within the next sprint.

Fixed Bugs

  • 17 vulnerabilities were resolved within this sprint, leaving 30 vulnerabilities for manual review in the next sprint.
  • Issues regarding accessing MongoDB were resolved.

Version 1.0.0

Features

  • 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

  • DateTimePicker has problems on Android, work fine on iOS.
  • Haven't tested the case where there are no GPS signals.
  • The notification might not work properly if the users change the system time. Users can reset notification schedules if the notification don't work.
  • The notification works on Expo Go but seems have problem on iOS.

Fixed Bugs

  • 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

User runs into a node dependency error

  • Try installing node.js version 16.18.1 by running npm i [email protected] from the terminal or command line.

If running into error with EAS build

  • Ensure that the app created when running npx create-expo-app has the same name as the app listed in the Expo Developer account.
  • Ensure that the project ID in the app.json file is the same as the one listed for the app in the Expo Developer account.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 93.4%
  • JavaScript 6.1%
  • Other 0.5%