AssistWave — Web application for emergency contact & product usage management
AssistWave is a web application that allows relatives or caregivers to register and manage accounts tied to a device ID.
When an emergency is reported (or when a monitored heart rate crosses configured thresholds), the backend triggers notifications to the registered relative and looks up nearby hospitals (via HERE Places API) to assist.
The web app also displays product usage simulation and allows users to rate the product.
Note: Hardware implementation details are not included in this README.
- User signup / signin (email + password and Google OAuth)
- User profile management (phone number and relative number)
- Emergency reporting endpoint that accepts
device_id,latitude,longitude,heartRateand triggers notifications (via Twilio) and hospital lookup (via HERE Places API) - Reviews / ratings from authenticated users
- Dashboard with product simulation / demo video
- Frontend: React (SPA). Handles UI, authentication flows, and calls backend APIs.
- Backend: Node.js + Express. Handles authentication, sessions, database access (Postgres), Twilio, and HERE API integration.
- Database: PostgreSQL storing
usersandreviews.
/ (repo root)
/client -> React app
/server -> Express app
README.md
- Clone the repo
git clone <repo-url>
cd <repo>-
Open two terminals — one for backend and one for frontend.
-
Backend
cd server
npm install
node index.js- Frontend
cd client
npm install
npm run dev- Do not commit
.envfiles. Add.envto.gitignore. - If any secret was accidentally committed, rotate the secret and purge history.