How mrodri2006/tcc_2026-4 works
This is a React Native/Expo marketplace connecting service providers and contractors, backed by Firebase and Cloud Functions. The main user journey is account entry, provider/service discovery, service request and proposal handling, lifecycle tracking, and review. Separate capabilities include provider availability and location visibility, messaging, notifications, administration, and provider subscription billing. The graph uses documented behavior and sampled import/call references; unsampled screen internals are represented at subsystem level rather than inferred in detail.
Main entry points: App.tsx App navigation · Home.tsx Contractor home · index.js Cloud Functions · firebase.js Firebase services
Components 27
Mobile app
- App navigation
App.tsx - Account access
screens/Login.tsx
Service marketplace
- Contractor home
screens/Home.tsx - Provider home
screens/HomeTrabalhador.tsx - Provider discovery
screens/Profissionais.tsx - Provider details
screens/DetalheProfissional.tsx - Service requests
screens/SolicitarServico.tsx - Service management
screens/Servicos.tsx - Service lifecycle
domain/service.ts - Provider schedule
screens/AgendaPrestador.tsx - Location visibility
components/LocationVisibilityCard.tsx - Location presence
services/locationPresenceService.ts
Engagement and trust
- Chat
screens/Chat.tsx - Notifications
screens/Notificacoes.tsx - Push registration
hooks/usePushNotifications.ts - Push service
services/notificationService.ts - Reviews and reputation
services/reviewService.ts - Administration
screens/Adm.tsx
Provider billing
- Billing screens
screens/PagamentoMensalidade.tsx - Billing status
hooks/useMensalidadeStatus.ts - Billing client
services/billingService.ts
Firebase backend
- Cloud Functions
functions/index.js - Lifecycle rules
functions/serviceLifecycle.js - Firebase services
firebase.js
Other components
- Contractor
- Provider
- Mercado Pago
Connections 28
- Contractor → App navigation: uses
- Provider → App navigation: uses
- App navigation → Account access: routes to
App.tsx - App navigation → Contractor home: routes to
App.tsx - App navigation → Provider home: routes to
App.tsx - Contractor home → Provider discovery: browses
- Provider discovery → Provider details: opens profile
- Contractor home → Service requests: requests service
- Contractor home → Reviews and reputation: loads ratings
screens/Home.tsx - Contractor home → Service management: responds to proposal
screens/Home.tsx - Service management → Service lifecycle: uses statuses
domain/service.ts - Provider home → Location visibility: shows controls
screens/HomeTrabalhador.tsx - Location visibility → Location presence: updates presence
components/LocationVisibilityCard.tsx - Provider → Provider schedule: manages availability
- Contractor → Chat: chats
- App navigation → Notifications: routes to
App.tsx - App navigation → Push registration: registers push
App.tsx - Push registration → Push service: delegates
hooks/usePushNotifications.ts - Push service → Firebase services: stores tokens
services/notificationService.ts - Administration → Firebase services: uses
screens/Adm.tsx - Provider → Billing screens: pays subscription
- Billing screens → Billing client: requests billing
- Billing status → Firebase services: reads account
hooks/useMensalidadeStatus.ts - Billing client → Cloud Functions: calls billing functions
services/billingService.ts - Cloud Functions → Lifecycle rules: imports rules
functions/index.js - Cloud Functions → Firebase services: updates billing state
- Cloud Functions → Mercado Pago: checks payment
- Mercado Pago → Cloud Functions: sends webhook