How angelalop03/tripeas-app works
TripEAs is an Expo mobile app for coordinating group trips. The main workflow is to sign in, view or create a trip, then manage its itinerary, expenses, participants and shared materials. Trip detail also surfaces participant, calendar and settlement information. The app uses a shared HTTP client and locally persisted authentication state. Some route and component connections are supported only by the source index; those uncertain links are omitted or marked dashed rather than treated as verified calls.
Main entry points: Api.ts HTTP API client · useAuth.tsx Auth session · CrearViajeModal.tsx Create trip · login.tsx Sign in and signup
Components 24
Access and profile
- Sign in and signup
app/login.tsx - Profile settings
app/ajustes-perfil.tsx - Help
app/ayuda.tsx
Trip management
- My trips
app/(tabs)/index.tsx - Create trip
components/CrearViajeModal.tsx - Join trip
components/UnirseViajeModal.tsx - Trip overview
app/viaje/[id]/index.tsx - Trip settings
app/viaje/ajustes.tsx
Trip features
- Participants
app/viaje/participantes.tsx - Trip calendar
app/viaje/[id]/calendario.tsx - Create activity
components/CrearActividadModal.tsx - Expenses
app/viaje/[id]/gastos.tsx - Add expense
components/AnadirGastoModal.tsx - Trip accounts
app/viaje/cuentas.tsx - Group roulette
app/viaje/[id]/elegir.tsx - Shared lists
app/viaje/listas.tsx - Create list
components/CrearListaModal.tsx - Trip album
app/viaje/album.tsx - Trip documents
app/viaje/docs.tsx
Shared infrastructure
- HTTP API client
constants/Api.ts - Auth session
hooks/useAuth.tsx - AsyncStorage
Other components
- Traveler
- TripEAs backend
Connections 29
- Traveler → Sign in and signup: signs in
- Sign in and signup → HTTP API client: requests auth
app/login.tsx - Sign in and signup → Auth session: updates session
app/login.tsx - Profile settings → HTTP API client: loads profile
app/ajustes-perfil.tsx - Profile settings → Auth session: updates user
app/ajustes-perfil.tsx - My trips → HTTP API client: loads trips
app/(tabs)/index.tsx - My trips → Auth session: refreshes profile
app/(tabs)/index.tsx - Create trip → HTTP API client: creates trip
components/CrearViajeModal.tsx - Create trip → HTTP API client: uploads cover
components/CrearViajeModal.tsx - Create trip → HTTP API client: adds companions
components/CrearViajeModal.tsx - Join trip → HTTP API client: joins trip
components/UnirseViajeModal.tsx - Trip overview → HTTP API client: loads trip data
app/viaje/[id]/index.tsx - Trip settings → HTTP API client: loads and edits
app/viaje/ajustes.tsx - Participants → HTTP API client: requests participants
app/viaje/participantes.tsx - Trip calendar → HTTP API client: requests calendar
app/viaje/[id]/calendario.tsx - Trip calendar → Create activity: uses form
app/viaje/[id]/calendario.tsx - Expenses → HTTP API client: requests expenses
app/viaje/[id]/gastos.tsx - Expenses → Add expense: uses form
app/viaje/[id]/gastos.tsx - Add expense → HTTP API client: records expense
components/AnadirGastoModal.tsx - Trip accounts → HTTP API client: requests accounts
- Group roulette → HTTP API client: loads choices
app/viaje/[id]/elegir.tsx - Shared lists → HTTP API client: requests lists
app/viaje/listas.tsx - Shared lists → Create list: uses form
app/viaje/listas.tsx - Create list → HTTP API client: creates list
components/CrearListaModal.tsx - Trip album → HTTP API client: requests album
app/viaje/album.tsx - Trip documents → HTTP API client: requests documents
app/viaje/docs.tsx - HTTP API client → TripEAs backend: sends HTTP
constants/Api.ts - HTTP API client → Auth session: reads token
constants/Api.ts - Auth session → AsyncStorage: persists session
hooks/useAuth.tsx