š©ŗMedical emergencies are unpredictable.
šAmbulances take patients to the ER over 16 million times per year in the US.
ā During these emergencies:
āSomeone may not be immediately available to assist you.
āBystanders may not be aware that you need help.
ā
This app allows you to:
1ļø. Call 911 & your emergency contacts
2ļø. Text your emergency contacts
3ļø. Activate a distress alarm to alert bystanders that you need help
4ļø. Store brief medical info that emergency responders may need when attending to you
ā”Please Note: Due to Twilio's requirements, the call & text features won't work in your local environment. To test these features, please use the deployed App.
Medz+_Demo_1.mp4
https://medz-plus-client.herokuapp.com/ ā”Please Note: 1)This demo uses a Twilio trial account with a limited $ balance. Once the funds are exhausted, call & text features won't work. 2)Calls are limited to Canadian phone #s.
git clone https://github.com/natvrey/natalie-reynolds-capstone-medz.git
cd natalie-reynolds-capstone-medz-main
Because this app is made of 3 npm projects, there are 3 places to run npm commands:
1) Node API in the server directory.
2) React UI in client directory.
3) React UI in the example directory (*This is where Twilio's Messages UI is located,
& npm install has to be run in this folder also. *This Twilio UI is accessed from the
app's Home Page, when the "Text Emergency Contact" button is clicked).
šSee detailed instructions below.
In a terminal:
# Always change directory, first
cd server
# Initial setup
npm install
# Start the server
npm start
In a separate terminal from the API server, initialize the React UI:
# Always change directory, first
cd client
# Initial setup
npm install
In a separate terminal from "Part 1" above, initialize the Twilio Messages UI:
# Always change directory, first
cd client/example
# Initial setup
npm install
In the same terminal from "Part 1", start the React & Twilio UIs concurrently:
# Check to ensure that you're still in the client directory
# Start the UI
npm start
**For Part 3, the start script has already been configured to start the React & Twilio UIs concurrently š.