CocoBot is an empathetic chatbot application tending to solve caregiver's mental health problems(e.g. depression, asthma, etc.) by:
- Using conversational AI, Rasa, to understand problems between chatbot and caregivers
- Providing relevant resources to current problems that a caregiver has for contributing to healthcare problem solving
- Tracking current progress of caregiver's solutions to ensure that our caregivers follow their progress properly
- Expo
- Android Studio
- Android Simulator
- IOS Simulator
- Visual Studio Code
- On command lines, navigate to where you want to install this program
- Run
git clone https://github.com/DrDongSi/CocoBot-Mobile.git
to download the program into your current directory - Open this project in Visual Studio Code and open a new terminal on VSCode
- Run
npm install
on terminal to install all required packages and dependencies for the program
- Run
npm start
after completing all the setup - Press
i
for IOS stimulator,a
for Android stimulator,w
to run on web, ore
to send a link to your phone with email
In order to perform CRUD operations from mobile client, it uses Firebase API in Expo to first request HTTP calls to server. From server, it then sends a TCP/IP request to Firebase Authentication and Cloud Firestore for authentication and database communication to the client.
This folder hierarchy presents all the files that I implemented for this capstone project
If folder is at the end of its path, that means I implemented all the files inside that folder. If not, my working files will be specified
Introduces to caregivers that we're about to ask caregivers for their information input
- Simply press one of the 2 buttons at the footer of each page to move to the next page
Asks caregivers to input their name, age, household, and children for better assistance and user self-recognition
- Enter name and press
Next
, age input will slide down and be visible for caregivers to enter age and pressNext
- Enter household and press next, children input will slide down and be visible for caregivers to enter number of children and press next
- Press on
+ Add child
to add a child and a modal sheet will appear to allow caregivers entering their child information, then enter their child information per request and pressSave
. After adding a child, any existed children will appear on the screen. Pressing on each child card (e.g.Cindy
orAlex
) will allow caregivers to edit their child information. PressNext
when you're done with children. - Press
Explore
to start exploring the app. This will prompt you to our home screen
To navigate to authentication page, you need to press on the avatar on the header of home screen. This will navigate to settings page. From settings page, if you're signed in, Log out
button will appear at the bottom of the page. If you're anonymous, Login
button will appear instead
Allows caregivers to login into their own account or sign in with Apple
- Enter your email
- Enter your password
- Press
Sign In
- Press
Sign in with Apple
button - Follow Apple sign-in instructions
Allows caregivers to create a new account with email and password
- Enter your name
- Enter your email
- Enter your password
- Press
Sign Up
Allows caregivers to reset their password with Firebase
- Enter your email to send a reset link to your email
- Press
Submit
, then check your email and follow the instructions in your email to reset your password
Allows caregivers to view and edit their personal information
- Modify any inputs (first name, last name, gender, date of birth, and email) you want to edit
- Press
Save
to save any changes
Allows caregivers to view and edit their children information
- Press on any child card you want to edit his/her information
- Modify any inputs (first name, last name, gender, date of birth, and chronic condition) you want to edit
- Press
Save
to save any changes
Allows caregivers to customize their notification settings
- Press on any switches corresponding to email, daily tasks, messages, and push notifications to toggle on/off a specific notifcation
Provides progress statistics including achievements, ratings in line chart, and solution completion rates in horizontal bar chart
Provides caregivers with progress details including calendar to track their activity period, focus overview, and PST steps