How spaceline-api/api_5semestre works
SpaceLine is a mobile application and API for managing linguistic-service work. Staff and clients use the mobile app to submit requests, manage clients and contacts, prepare quotes, and track service orders; translators can receive and respond to work invitations. The API exposes these domains alongside authentication, translator/resource management, allocations, and support. The README documents further capabilities such as staged workflows and pricing, but sampled source does not establish all their implementation or wiring; those links are therefore omitted.
Main entry points: _layout.tsx Mobile app · app/routes.py API router · service_orders/routes.py Orders and invites · quotes/routes.py Requests and quotes
Components 25
Mobile application
- Mobile app
apps/mobile/src/app/_layout.tsx - Login
apps/mobile/src/modules/auth/pages/LoginPage.tsx - Clients and contacts
apps/mobile/src/modules/clients/pages/ClientsPage.tsx - Service requests
apps/mobile/src/modules/requests/pages/NewRequestPage.tsx - Quotes
apps/mobile/src/modules/quotes/services/quotesService.ts - Service orders
apps/mobile/src/modules/service-orders/pages/ServiceOrdersPage.tsx - Translator invites
apps/mobile/src/modules/invites/pages/MyInvitesPage.tsx - Support chat
apps/mobile/src/modules/support-agent/pages/SupportPage.tsx
API domains
- API router
apps/server/app/routes.py - Authentication
apps/server/app/modules/auth/routes.py - Clients and contacts
apps/server/app/modules/clients/routes.py - Requests and quotes
apps/server/app/modules/quotes/routes.py - Orders and invites
apps/server/app/modules/service_orders/routes.py - Translators and resources
apps/server/app/modules/translators/routes.py - Allocations
apps/server/app/modules/allocations/routes.py - Support agent endpoint
apps/server/app/modules/support_agents/inngest/router/support_router.py
Business services
- Login service
apps/server/app/modules/auth/services/login_service.py - Quote and request services
apps/server/app/modules/quotes/services/quote_service.py - Order service
apps/server/app/modules/service_orders/services/service_order_service.py - Invite service
apps/server/app/modules/service_orders/services/invite_service.py - Translator service
apps/server/app/modules/translators/services/translator_service.py - Support agent logic
apps/server/app/modules/support_agents/adk/agents.py
External services
- Application database
apps/server/app/shared/database.py - Supabase Auth
Other components
- Staff or client
Connections 24
- Staff or client → Mobile app: uses
- Mobile app → Login: opens
- Mobile app → Clients and contacts: opens
- Mobile app → Service requests: opens
- Mobile app → Quotes: opens
- Mobile app → Service orders: opens
- Mobile app → Translator invites: opens
- Mobile app → Support chat: opens
- API router → Authentication: dispatches
- API router → Clients and contacts: dispatches
- API router → Requests and quotes: dispatches
- API router → Orders and invites: dispatches
- API router → Translators and resources: dispatches
- API router → Allocations: dispatches
- API router → Support agent endpoint: dispatches
- Authentication → Login service: calls
- Login service → Supabase Auth: authenticates
- Requests and quotes → Quote and request services: calls
- Requests and quotes → Application database: gets session
- Orders and invites → Order service: calls
- Orders and invites → Invite service: calls
- Orders and invites → Application database: gets session
- Translators and resources → Translator service: calls
- Support agent endpoint → Support agent logic: dispatches