Skip to content

sudhans18/Smart-Tourist-Safety-Monitoring-System

Repository files navigation

Smart Tourist Safety Monitoring System

Flutter Dart License: MIT

Abstract

Smart Tourist Safety Monitoring System is a Flutter mobile app delivering government‑grade tourist safety through verified onboarding, real‑time location tracking, geofencing, SOS orchestration, and wearable‑driven vitals monitoring. The platform integrates Firebase (Auth/Firestore) and Mapbox for secure data and mapping, supports multilingual onboarding, offline‑first fallbacks, and family sharing. The latest anomaly detection models achieve 93% accuracy on vitals anomaly detection and 87% accuracy on geofencing anomaly detection, enabling proactive alerts and guidance for travelers.

🧱 Tech Overview

  • Framework: Flutter 3.16.9 (Dart 3.2.3)
  • Backend: Firebase (Auth, Firestore)
  • Maps: Mapbox
  • State: Provider
  • i18n: l10n/ with English, Hindi and more regional languages

✅ Features (Implemented)

  • Onboarding & Verification (features/onboarding/, features/auth/)
    • Phone and email verification with OTP and country code selector
    • Language selection with popular/regional/international groups
  • KYC & ID (features/kyc/, features/id/)
    • Document selection (Passport/Aadhaar) and mock verification flow
    • Tourist ID issuance with QR code display for identification
  • Dashboard (features/dashboard/)
    • Modern cards, quick actions, live vitals placeholders, mini map
    • Trip planner and itinerary views
  • SOS Mode (features/sos/)
    • Emergency mode screen with responder ETA, contact notifications, audio stream placeholder
  • Zones & Geofencing (features/zones/)
    • Providers for location, zone data, and geofence coordination
    • Dashboard mini map widget and fullscreen map screen
  • Wearable Integration (UI placeholders) (features/band_integration/)
    • Pairing UI and vitals placeholders for heart rate, SpO2, temperature
  • Weather (features/weather/)
    • Current conditions, 5‑day strip, line chart trends (FL Chart)
  • Attractions (features/attractions/)
    • Nearby attractions screen placeholder
  • Hotel Bookings (features/hotel/)
    • Search, filters, verified badge, amenities, details bottom sheet, book flow mock
  • Transportation (features/transport/)
    • Route planning inputs and real‑time public transport cards (bus/metro/tram)
  • Family Sharing (features/family/)
    • Share location/vitals toggle, members list, revoke‑all control
  • Profile (features/profile/)
    • Profile photo update (mock upload), personal details from provider, emergency contact, theme and language settings, support/legal, debug tools for Firestore sample data
  • Localization (lib/l10n/)
    • English, Hindi and multiple Indian and international languages

🚀 Setup

  1. Install tools
    • Flutter SDK >= 3.2.3, Android Studio/Xcode
    • Firebase project for Auth/Firestore
  2. Dependencies
    flutter pub get
  3. Environment
    • Create .env in project root:
      MAPBOX_PUBLIC_TOKEN=your_mapbox_token_here
      
  4. Firebase config
    • Android: android/app/google-services.json
    • iOS: ios/Runner/GoogleService-Info.plist
  5. Run
    flutter run

📁 Project Structure

lib/
├─ core/        # constants, models, providers, services, widgets, theme
├─ features/    # auth, onboarding, kyc, id, dashboard, zones, sos,
│               # band_integration, weather, attractions, hotel,
│               # transport, family, profile, alerts, common
└─ l10n/        # localization

📚 Docs

  • Firebase setup and sample data: FIREBASE_README.md

📝 License

This project is licensed under the MIT License - see the LICENSE file for details.

📬 Contact

For any queries or support, please contact sudhan4843@gmail.com

About

A Flutter-based mobile app providing real-time tourist safety through geofencing, SOS alerts, vitals monitoring, and multilingual support.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages