Skip to content

Latest commit

Β 

History

History
51 lines (36 loc) Β· 1.42 KB

File metadata and controls

51 lines (36 loc) Β· 1.42 KB

WorkersHub β€” Frontend Developer Assignment

Live Demo β†’ workershub.vercel.app

A responsive worker directory built with Next.js, TypeScript, and Tailwind CSS.
Allows users to browse, filter, and paginate worker profiles, with loading skeletons, image fallbacks, and detailed worker info modals.


πŸš€ Features

  • Responsive layout: 2 / 2 / 4 columns depending on screen size
  • Navbar: sticky top header with dedicated search bar (search by name or service) + mobile menu
  • Filters: filter by service category and price range
  • Pagination: navigate across multiple pages of worker cards
  • Skeleton Cards: placeholders shown while data loads
  • Image handling: fallback UI on image load failure, lazy loading
  • Client-side caching: caches worker data to reduce redundant fetches
  • API route: /api/workers serves workers.json
  • Worker Detail Modal: tap a card to view full profile, rating, availability, and price
  • Footer: clean company-style footer at the bottom

πŸ›  Tech Stack

  • Next.js (App Router)
  • TypeScript
  • Tailwind CSS
  • React + React Hooks
  • Lucide Icons
  • React Icons

⚑️ Getting Started

# Install dependencies
npm install

# Run development server
npm run dev

# Build for production
npm run build
npm start

πŸ“¦ Deployment

Deployed with Vercel β†’ workershub.vercel.app