This project was created for the Facebook Messenger 2020 Hackathon
The concept is to use quick replies to help users down journeys to administer simple first aid. I chose a few simple scenarios especially for living alone I think its important having sources of first aid to hand.
The app is written in node and uses the payload
value of the quick replies to point to next part of the journey, so there is no need for state management within the application, also turning the text input off means the consumer cannot go down the wrong route.
-
If you wanted to run this project create a
.env
file with the values in.env.example
you will have to setup a facebook page -
Run a docker build
-
Then run this docker image using the
.env
file
docker run --env-file .env -p 3000:3000 <IMAGE_NAME>
- You will probably have to use a service such as ngrok to https route to the local machine.
Here are a list of sources used for various info and images: https://www.nhs.uk/conditions/burns-and-scalds/
https://www.mayoclinic.org/first-aid/first-aid-choking/basics/art-20056637
https://www.nhsinform.scot/illnesses-and-conditions/injuries/skin-injuries/cuts-and-grazes
https://www.portsmouth.co.uk/health/first-aid-how-deal-fainting-1224139
https://www.sja.org.uk/get-advice/first-aid-advice/heart-conditions/heart-attack/