This is a Next.js project bootstrapped with create-next-app.
First, run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun devOpen http://localhost:3000 with your browser to see the result.
- Responsiveness (scales optimally to different screen sizes)
- Uses Next.js defaults as possible, including grid with Tailwind basic style definitions. (Note problems with dynamic colours, margins on flex items and breakpoints not working with flex item alignment)
- Testing of Shadcn's UI library as "open code" (as opposed to UI components from npm packages)
- SVG icons with Lucide
- Dark mode support
Initial work focused on API consumption and frontend responsive layout. More work is needed to properly enable product search and sorting according to the Next.js patterns, especially to play nice with the asynchronous components in the application. The product and category listings are easy, but showing the counts in the headings are a challenge in the current implementation.
Home page on desktop
Home page on mobile
Product card on mobile


