Nephcare User Application
On-demand home nursing: post a care request, accept a nurse in real time, track them on the map, pay from a wallet.

The patient side of Nephcare, a two-sided marketplace for on-demand home nursing. A patient registers, is located by GPS, sees nearby nurses on the map and posts a care request, either Instant for dispatch now or Scheduled with a start and end time. Nurses apply in real time, and each application arrives as a countdown card the patient accepts or lets expire.
Dispatch is live rather than polled: applications come in over a private Pusher channel with a ringtone and a 45-second expiry bar. Once a nurse is accepted the app subscribes to that job's location document in Firestore and redraws the route between patient and nurse on Google Maps as the nurse moves.
Payment runs through a wallet topped up with Stripe's payment sheet, and the two sides talk in a Firestore-backed chat.
Key Features
- Email and password registration and login, six-digit email OTP with a resend timer, forgot and change password, profile edit with photo upload.
- Three-screen onboarding; session restore on splash that resumes straight to the map if a dispatch was in flight.
- Service categories, nearby nurses as custom map markers inside a 1 km radius, and a reverse-geocoded current address.
- Care request form: Instant or Scheduled, category, title, address, hourly rate, description, start and end time pickers.
- Instant and Scheduled job lists with status and payment badges and shimmer placeholders; accept or cancel a request.
- Real-time nurse applications over Pusher with a ringtone alert and a 45-second countdown.
- Live nurse tracking from Firestore with a polyline route on a custom-styled Google Map.
- Firestore chat with chat heads and message bubbles.
- Wallet with balance, last debit and credit, Stripe payment-sheet top-up and payment history.
- Push notifications via Firebase Cloud Messaging rendered as local notifications; device token registered at login.
- Connectivity checks with toast feedback on every request.
Technology
- Flutter
- Dart
- Provider
- Dio
- Firebase (Auth
- Firestore
- Messaging)
- Stripe
- Pusher Channels
- Google Maps
- polyline routing
- geocoding












