Skip to content

1Mouse/bike-index-clone

Repository files navigation

Bike Index Clone

Deployed at Vercel

Usage

development

pnpm dev

build

pnpm build

start

pnpm start

Technologies used:

  • Nextjs: to demonstrate understanding of cutting edge RSC technology
  • TailwindCss: to increase development speed
  • Class-variance-authority, tailwind merge, clsx and other plugins to sort classes and make tailwind as clean as possible.
  • eslint and prettier
  • Typescript
  • Radix UI: for headless component with premade A11ty
  • zod: to validate api response.
  • SSR and React server components to provide a fast experience and eleminate client/server round trips.
  • next-nprogress-bar: to handle page transitions.
  • pnpm

Features:

  • Showing bikes with searching and filtering.
  • Handled query params to make the results sharable like Amazon.
  • Pagination with a go to certain page to enhance user experience.
  • Loading spinners, loading progress bar, handle errors and empty state.
  • Stolen time are shown in the users time zone captured from browser.

Issues found in the API

  • No filter for dates which hendered the implementation of this feature.
  • The parameter named query which is responsiple for the full text search doesn't produce accurate results.

Performance Report

1- on Desktop

image

2- on Mobile

image