Skip to content

Specs

This section contains behavioral specifications for TyteRide slices. Each spec describes the contract, rules, and verification expectations for a bounded area of the system. Specs are derived from the authoritative product and architecture documents and must follow the project terminology and conventions.

1. Subdirectories

Area Description
auth/ Phone/OTP authentication, Sanctum sessions, roles, and route-prefix authorization.
onboarding/ Company self-serve onboarding, Manager invites/membership, and Passenger enrollment approval.
reservations/ Trip groups, booking, deadlines, duplication, and extra-car reservation flows.
live-ops/ GPS publishing, realtime channels, boarding, Driver feedback, and live tracking views.
analytics/ Post-trip analysis, metrics computation, and review/reporting behavior.
notifications/ User notifications, unread/read state, and mobile device token registration.
surfaces/ Surface-specific behavior for Front Views, Fleet Dashboard, Passenger App, and Driver App.
localization/ Arabic/English behavior, RTL rules, localized fields/messages, and locale persistence.