Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/helloimalemur/mayday
primary goal of the app is to save lives when people are outside alone, protection, and vigilance without being too overwhelming or limiting the scope of use.
https://github.com/helloimalemur/mayday
Last synced: 5 days ago
JSON representation
primary goal of the app is to save lives when people are outside alone, protection, and vigilance without being too overwhelming or limiting the scope of use.
- Host: GitHub
- URL: https://github.com/helloimalemur/mayday
- Owner: helloimalemur
- License: gpl-3.0
- Created: 2024-10-27T19:40:40.000Z (19 days ago)
- Default Branch: master
- Last Pushed: 2024-11-04T04:40:09.000Z (12 days ago)
- Last Synced: 2024-11-04T05:26:08.698Z (12 days ago)
- Language: Rust
- Homepage:
- Size: 135 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# mayday
### ~ **work in progress** ~
primary goal of the app is to save lives when people are outside alone, protection, and vigilance without being too overwhelming or limiting the scope of use.### 1. **Tracking and Alerts Overview**
1. **Client Location Tracking**: Each client periodically sends its location to the backend, using "what3words" the location can be easily communicated verbally.
2. **Alert Triggering**: Clients can trigger alerts based on certain conditions.
3. **Notification of Nearby Clients**: When a client triggers an alert, notify nearby clients and integrations such custom contacts or EMS services.## prerequisites
docker
make
rust
npm/node## Development workflow
# start db in docker and run rust code local
make dev# build and start both db and mayday with docker-compose up -d
make init# build and start both db and mayday with docker-compose up
make up## docker/.env
```dotenv
MAYDAY_HOST=127.0.0.1
MAYDAY_PUBLIC_URL=http://localhost
MAYDAY_PORT=8202
MARIADB_HOST=127.0.0.1
MARIADB_PORT=3306
MARIADB_USER=maydayapp
MARIADB_PASS=password
MARIADB_APP_PASS=password
MARIADB_DB=mayday
DATABASE_URL="mysql://$(MARIADB_USER):$(MARIADB_PASS)@$(MARIADB_HOST):$(MARIADB_PORT)/$(MARIADB_DB)"
SQLX_LOGGING=false
```
## install sea-orm cli
cargo install [email protected]#### References
https://github.com/juhaku/utoipa/blob/master/examples/todo-actix/src/todo.rs
https://docs.rs/utoipa/latest/utoipa/attr.path.html#examples