How aflores14/dm-uner works
Mi Ciudad is an Expo mobile guide to Colón. Visitors browse and search attractions, view place details, explore a map, plan routes, and see events; signed-in users can manage favorites and recorded visits. Location services support proximity alerts and navigation, while audio guides enrich place details. The service layer combines remote requests with SQLite caching and mock-data fallbacks. Relationships below rely on README statements and the supplied source excerpts or index references; unsampled implementation details are not inferred.
Main entry points: lugares.ts Place Service · index.tsx Place Browser · AuthContext.tsx Authentication Context · recorrido.tsx Route Planner
Components 27
Discovery and Events
- Place Browser
app/(tabs)/index.tsx - Place Card
src/componentes/TarjetaLugar.tsx - Place Details
app/lugar/[id].tsx - Event Agenda
app/(tabs)/agenda.tsx - Audio Player
src/componentes/ReproductorAudioguia.tsx
Map and Navigation
- Map Screen
app/(tabs)/mapa.tsx - Interactive Map
src/componentes/MapaInteractivo.tsx - Destination Compass
src/componentes/BrujulaDestino.tsx - Route Planner
app/(tabs)/recorrido.tsx - Location Utilities
src/utilidades/geolocalizacion.ts
Account and Activity
- Profile
app/(tabs)/perfil.tsx - Authentication Context
src/contexto/AuthContext.tsx
Services and Data
- Domain Types
src/tipos/index.ts - Place Service
src/servicios/lugares.ts - Event Service
src/servicios/eventos.ts - Audio Guide Service
src/servicios/audioguias.ts - Visit Service
src/servicios/visitas.ts - Favorites Service
src/servicios/favoritos.ts - Notifications
src/servicios/notificaciones.ts - HTTP Client
src/servicios/cliente.ts - Local SQLite
src/servicios/database.ts - Place Mock Data
src/mocks/lugaresMock.ts - Event Mock Data
src/mocks/eventosMock.ts
Other components
- Visitor
- Maps App
- Tourism API
- Device Notifications
Connections 39
- Visitor → Place Browser: browses
README.md - Visitor → Event Agenda: views events
README.md - Visitor → Map Screen: opens map
- Visitor → Route Planner: plans route
- Visitor → Profile: opens profile
- Place Browser → Place Service: loads places
app/(tabs)/index.tsx - Place Browser → Location Utilities: gets location
app/(tabs)/index.tsx - Place Browser → Notifications: alerts nearby
app/(tabs)/index.tsx - Place Browser → Authentication Context: reads favorites
app/(tabs)/index.tsx - Place Browser → Place Card: renders cards
app/(tabs)/index.tsx - Place Details → Place Service: loads place
app/lugar/[id].tsx - Place Details → Authentication Context: toggles favorite
app/lugar/[id].tsx - Place Details → Audio Player: shows guide
app/lugar/[id].tsx - Event Agenda → Event Service: loads events
app/(tabs)/agenda.tsx - Event Agenda → Place Service: loads places
app/(tabs)/agenda.tsx - Event Agenda → Notifications: schedules alerts
app/(tabs)/agenda.tsx - Map Screen → Interactive Map: renders map
app/(tabs)/mapa.tsx - Interactive Map → Location Utilities: tracks location
src/componentes/MapaInteractivo.tsx - Interactive Map → Destination Compass: shows direction
src/componentes/MapaInteractivo.tsx - Interactive Map → Maps App: opens directions
- Route Planner → Place Service: loads places
app/(tabs)/recorrido.tsx - Route Planner → Visit Service: records visits
app/(tabs)/recorrido.tsx - Route Planner → Location Utilities: gets location
app/(tabs)/recorrido.tsx - Route Planner → Authentication Context: reads account
app/(tabs)/recorrido.tsx - Profile → Authentication Context: manages account
app/(tabs)/perfil.tsx - Profile → Place Service: loads places
app/(tabs)/perfil.tsx - Profile → Notifications: manages alerts
app/(tabs)/perfil.tsx - Audio Player → Audio Guide Service: loads audio
src/componentes/ReproductorAudioguia.tsx - Authentication Context → HTTP Client: authenticates remotely
src/contexto/AuthContext.tsx - Authentication Context → Local SQLite: loads favorites
src/contexto/AuthContext.tsx - Place Service → HTTP Client: requests data
src/servicios/lugares.ts - Place Service → Local SQLite: caches places
src/servicios/lugares.ts - Place Service → Place Mock Data: falls back
src/servicios/lugares.ts - Event Service → HTTP Client: requests events
src/servicios/eventos.ts - Event Service → Event Mock Data: falls back
src/servicios/eventos.ts - Visit Service → Local SQLite: stores visits
src/servicios/visitas.ts - Favorites Service → Local SQLite: stores favorites
src/servicios/favoritos.ts - Notifications → Device Notifications: schedules alerts
src/servicios/notificaciones.ts - HTTP Client → Tourism API: sends requests
src/servicios/cliente.ts