How yashaswinimshetty/aarohana---smart-tourist-safety-app works
Aarohana is a tourist-safety application whose user flow is onboarding and registration, then access to a digital identity, itinerary, location, and SOS features. The frontend routes these screens to a JSON API; the backend provides tourist, itinerary, and alert operations with file-backed data. The README also highlights real-time location tracking and instant SOS alerts, though the supplied excerpts do not establish a location transport or live-tracking implementation. Edges below use shown calls, routing, or README claims; unsampled capabilities are included without speculative implementation links.
Main entry points: App.js Route shell · apiClient.js API client · Onboarding.jsx Registration · server.js HTTP API
Components 21
Tourist app
- Route shell
aarohan-frontend/src/App.js - Registration
aarohan-frontend/src/screens/Onboarding.jsx - Personal details
aarohan-frontend/src/components/onboarding/CredentialsForm.jsx - Emergency details
aarohan-frontend/src/components/onboarding/EmergencyContactForm.jsx - Trip details
aarohan-frontend/src/components/onboarding/TripDetailsForm.jsx - Form validation
aarohan-frontend/src/utils/validation.js - Verification step
aarohan-frontend/src/components/onboarding/VerificationLoader.jsx - Safety home
aarohan-frontend/src/screens/Home.jsx - Digital identity
aarohan-frontend/src/screens/DigitalID.jsx - Blockchain badge
aarohan-frontend/src/components/digitalID/BlockchainBadge.jsx - Trip itinerary
aarohan-frontend/src/screens/Itinerary.jsx - Location view
aarohan-frontend/src/screens/Location.jsx - SOS alerts
aarohan-frontend/src/screens/Emergency.jsx - API client
aarohan-frontend/src/api/apiClient.js
Safety API
- HTTP API
aarohan-backend/server.js - Server validation
aarohan-backend/validation.js - Real-time tracking
aarohan-frontend/src/screens/Location.jsx
Application data
- Tourist records
aarohan-backend/data/tourists.json - Itinerary records
aarohan-backend/data/itineraries.json - Alert records
aarohan-backend/data/alerts.json
Other components
- Tourist
Connections 25
- Tourist → Route shell: opens app
aarohan-frontend/src/App.js - Route shell → Registration: routes to
aarohan-frontend/src/App.js - Route shell → Safety home: routes to
aarohan-frontend/src/App.js - Route shell → Digital identity: routes to
aarohan-frontend/src/App.js - Route shell → Trip itinerary: routes to
aarohan-frontend/src/App.js - Route shell → Location view: routes to
aarohan-frontend/src/App.js - Route shell → SOS alerts: routes to
aarohan-frontend/src/App.js - Registration → Personal details: renders
aarohan-frontend/src/screens/Onboarding.jsx - Registration → Emergency details: renders
aarohan-frontend/src/screens/Onboarding.jsx - Registration → Trip details: renders
aarohan-frontend/src/screens/Onboarding.jsx - Trip details → Form validation: validates with
aarohan-frontend/src/components/onboarding/TripDetailsForm.jsx - Registration → Verification step: shows
aarohan-frontend/src/screens/Onboarding.jsx - Registration → API client: creates tourist
aarohan-frontend/src/screens/Onboarding.jsx - Safety home → API client: requests data
aarohan-frontend/src/screens/Home.jsx - Digital identity → API client: requests data
aarohan-frontend/src/screens/DigitalID.jsx - Digital identity → Blockchain badge: renders
aarohan-frontend/src/screens/DigitalID.jsx - Trip itinerary → API client: reads and creates
aarohan-frontend/src/screens/Itinerary.jsx - Location view → API client: requests data
aarohan-frontend/src/screens/Location.jsx - SOS alerts → API client: creates alert
aarohan-frontend/src/screens/Emergency.jsx - API client → HTTP API: sends JSON requests
aarohan-frontend/src/api/apiClient.js - HTTP API → Server validation: validates input
aarohan-backend/server.js - HTTP API → Tourist records: reads and writes
- HTTP API → Itinerary records: reads and writes
- HTTP API → Alert records: writes alerts
- Tourist → Real-time tracking: uses tracking
README.md