https://github.com/michaelfromyeg/dispatch
An old half-baked hack-a-thon project; hold a button when in danger, release it to dispatch for help.
https://github.com/michaelfromyeg/dispatch
react-native
Last synced: 3 months ago
JSON representation
An old half-baked hack-a-thon project; hold a button when in danger, release it to dispatch for help.
- Host: GitHub
- URL: https://github.com/michaelfromyeg/dispatch
- Owner: michaelfromyeg
- License: other
- Created: 2021-03-13T17:54:05.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-03-14T17:34:08.000Z (almost 5 years ago)
- Last Synced: 2025-04-02T21:42:48.564Z (9 months ago)
- Topics: react-native
- Language: JavaScript
- Homepage:
- Size: 1.12 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# htg
Hack the Globe 2021 solution repository.
## About
### TODOs
- [ ] As a user, I can anticipate I will in danger and create a trigger for the police
- [ ] As a user, even if I forget to signal danger, I can still use the app to quickly generate an alert
- [ ] As a user, I can contact different groups (e.g., RCMP, tribal police, police versus family and friends) depending on my situation
- [ ] As a user, I should be able to send what data I feel comfortable sending(e.g., name), and always include longitude, latititude
Figma [TBD](https://michaeldemar.co).
### Figma TODOs (user FE only)
Onboarding
- [x] First time, set your pin
- [x] Set settings
- [x] Then main screen
Main screen
- [x] Logo
- [x] Button
- [x] Navigation bar (to settings)
Main screen (button pressed)
- [x] As above, but button is a different color
Main screen (button released after pressed)
- [x] Pin page is on the screen (pop-up)
- [x] Timer
Main screen (post button released, call made)
- [x] Notification that help is on the way
Main screen (post button released, call cancelled)
- [x] Notification that call has been cancelled
- [x] Back to main screen defaults
Settings
- [x] Two-tiers, one is "locked" as emergency services; other is family and friends (this is customizable)
- [x] Choose a message to send to family and friends
- [x] Toggle location for family and friends
- [x] Customize length of time
- [x] Set your pin
### API TODOs
POST a button press
POST a (made or cancelled) call
GET log of past calls
TODO investigate how to store settings locally
POST user
PUT user (updating settings)
GET user
### Dashboard TODOs
- Fetch all logs
- Render in table
- Filter, paginate, sort
- Map with pinned locations (longitude and latitude)
### "Above and Beyond" TODOs
- Other way of creating a dispatch without the button, while phone is locked
- Voice assistants, some other smart technology
- Activate video and voice on dispatch
### Background
TODO
## Usage
### Installation
TODO
### Development
TODO