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.
- Client Location Tracking: Each client periodically sends its location to the backend, using "what3words" the location can be easily communicated verbally.
- Alert Triggering: Clients can trigger alerts based on certain conditions.
- Notification of Nearby Clients: When a client triggers an alert, notify nearby clients and integrations such custom contacts or EMS services.
docker
make
rust
npm/node
# 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
MAYDAY_HOST=127.0.0.1
MAYDAY_PUBLIC_URL=http://localhost
MAYDAY_PORT=8202
MARIADB_HOST=127.0.0.1
MARIADB_PORT=3308
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
cargo install [email protected]
https://github.com/juhaku/utoipa/blob/master/examples/todo-actix/src/todo.rs
https://docs.rs/utoipa/latest/utoipa/attr.path.html#examples