How mikee0102/tlaxgo works
Tlaxgo is a Tlaxcala tourism web app: visitors discover destinations and map them, while signed-in users can save places, plan itineraries, and manage profiles. The graph follows those user-facing stages into Firebase-backed services and includes the documented landing-page sections. Evidence is limited to the README, source index references, and sampled excerpts; unsampled integrations and call paths are omitted rather than assumed.
Main entry points: profile.service.ts Profile and dashboard data · (marketing)/page.tsx Marketing landing · config.ts Firebase services · explore/page.tsx Explore destinations
Components 26
Tourism discovery
- Marketing landing
app/(marketing)/page.tsx - Hero and features
components/marketing/Hero.tsx - Featured places
components/marketing/Lugares.tsx - Tour routes
components/marketing/Rutas.tsx - Municipality guide
components/marketing/MunicipiosUnicos.tsx - Explore destinations
app/(dashboard)/explore/page.tsx - Search and filters
components/map/SearchBar.tsx - Place details
components/map/PlaceCard.tsx - Destination map
components/map/Map.tsx
Accounts and profiles
- Sign-in and registration
app/(auth)/login/page.tsx - Auth actions
hooks/useAuth.ts - Session provider
providers/auth-provider.tsx - Credential service
services/auth.service.ts - Profile management
app/(dashboard)/profile/page.tsx
Favorites and itineraries
- Saved places
app/(dashboard)/favorites/page.tsx - Place favorites
services/favorites.service.ts - Itinerary workspace
app/(dashboard)/itinerary/page.tsx - Itinerary editor
components/intinerary/intineraryform.tsx
Data services
- Places lookup
services/places.service.ts - Profile and dashboard data
services/profile.service.ts - Itinerary records
services/itinerary.service.ts - Firebase services
lib/firebase/config.ts
Shared presentation
- Dashboard
app/(dashboard)/dashboard/page.tsx - Dashboard widgets
components/dashborad/statscard.tsx
Other components
- Visitor
- Overpass API
Connections 29
- Visitor → Marketing landing: visits
- Marketing landing → Hero and features: renders
app/(marketing)/page.tsx - Marketing landing → Featured places: renders
app/(marketing)/page.tsx - Marketing landing → Tour routes: renders
app/(marketing)/page.tsx - Marketing landing → Municipality guide: renders
app/(marketing)/page.tsx - Explore destinations → Search and filters: renders
app/(dashboard)/explore/page.tsx - Explore destinations → Place details: renders
app/(dashboard)/explore/page.tsx - Explore destinations → Destination map: renders
app/(dashboard)/explore/page.tsx - Explore destinations → Places lookup: loads places
app/(dashboard)/explore/page.tsx - Places lookup → Overpass API: queries
services/places.service.ts - Sign-in and registration → Auth actions: uses
app/(auth)/login/page.tsx - Auth actions → Session provider: reads session
hooks/useAuth.ts - Auth actions → Firebase services: signs in
hooks/useAuth.ts - Auth actions → Profile and dashboard data: updates profile
hooks/useAuth.ts - Session provider → Firebase services: observes session
providers/auth-provider.tsx - Session provider → Profile and dashboard data: loads profile
providers/auth-provider.tsx - Sign-in and registration → Credential service: uses
- Credential service → Firebase services: auth operations
services/auth.service.ts - Profile management → Profile and dashboard data: loads profile
app/(dashboard)/profile/page.tsx - Saved places → Place favorites: loads favorites
app/(dashboard)/favorites/page.tsx - Place details → Place favorites: updates favorite
components/map/PlaceCard.tsx - Itinerary workspace → Itinerary records: manages trips
app/(dashboard)/itinerary/page.tsx - Itinerary workspace → Itinerary editor: renders editor
app/(dashboard)/itinerary/page.tsx - Itinerary editor → Itinerary records: saves itinerary
components/intinerary/intineraryform.tsx - Itinerary records → Firebase services: reads and writes
services/itinerary.service.ts - Profile and dashboard data → Firebase services: reads and writes
services/profile.service.ts - Profile and dashboard data → Itinerary records: loads favorites
services/profile.service.ts - Dashboard → Profile and dashboard data: loads dashboard data
app/(dashboard)/dashboard/page.tsx - Dashboard → Dashboard widgets: renders stats
app/(dashboard)/dashboard/page.tsx