A mental health and anxiety monitoring application that takes advantage of vital signals from wearable technologies.
Calme Portal - The therapist web portal.
Calme Server - Backend server and database.
Make sure you're environment is at least up to date with the following.
- Node version >= 10.19.0
- yarn version >= 2.4.0
Before you start development, run the following commands.
git clone https://github.com/BAcanLL/capstone-mobile.git
cd capstone-mobile
yarn
NOTE: We are still using node_modules despite being on yarn 2, as PnP doesn't support React Native.
To start the application, run the following command in the project directory.
yarn start
This will start Expo. By default, the application runs on port 19000 and the DevTools run on port 19002.
To see the app once it's running, there are two options.
This is the preferred way to run the application. To run the app on your mobile device:
- Download the Expo app on your device.
- Scan the Expo QR code with your camera. The QR code is printed in terminal after running the start command as well as available in the DevTools.
- Open the Expo app when prompted.
To run the app on a simulator within your computer instead, follow Expo's documentation:
NOTE: Simulators have certain limitations, so running the app on your device is recommended.
To see components in Storybook, run the following command in the project directory. Storybook will default to running on port 6006. Open this port on your mobile device to view components there.
yarn storybook
All commits are run through the following pre-commit commands to lint and format the code.
eslint --fix
prettier --write