Frontend Notes (MVP Readiness)
High-Level Takeaways
App.jsxis monolithic and mixes search, payments, and locale controls; no routing exists yet.- Domain logic (API payloads, validation, error handling) lives in UI components instead of hooks/services.
- Tests only cover hero copy and RTL behavior; search and payment flows are untested.
- Global styles are fragile (likely
::roottypo instead of:root). - Auth token handling is ad hoc and should be replaced with a proper auth flow/context.
Near-Term Focus
- Introduce routing and split into pages (home/search, auth, booking, payment, profile).
- Extract API logic into hooks/services to make testing and reuse easier.
- Add Vitest coverage for search, booking, and payment flows.
- Fix global CSS root selector and stabilize base layout styles.