Live demo: https://used-cars-platform.vercel.app
Install dependencies:
npm install
Run the development server:
npm run dev
I have chosen to use Vite with React for this task. On top of React I have used Tanstack Router for type-safe routing including handling of query parameters as state. I have used the routers own data loading for fetching and caching the listings and user, as opposed to using something like Tanstack/React Query. Tailwind CSS is used for styling. My solution is written in TypeScript, and I have used Valibot (a modern alternative to Zod) for runtime schema validation.