Skip to content

alexlux58/CarHub

Repository files navigation

CarHub 🚗

Carhub Image

Overview

CarHub is a Next.js application that serves as a comprehensive car catalogue. Explore cars you might like, filter them based on various parameters like fuel type and year of production, and get detailed information about each car.

Features

  • Search Bar: Quickly find cars by their manufacturer.
  • Custom Filters: Filter cars based on fuel type and year.
  • Car Cards: View essential details of each car in a card layout.
  • Show More: Paginate through the list of cars.
  • Hero Section: A visually appealing hero section.

Technologies Used

  • Next.js
  • TypeScript
  • Tailwind CSS

Project Structure

  • app/ - Contains global CSS and layout files.
  • components/ - Reusable components like CarCard, SearchBar, etc.
  • constants/ - Constant values like fuel types and years of production.
  • public/ - Static assets like images and icons.
  • utils/ - Utility functions for fetching car data.

Getting Started

Prerequisites

  • Node.js
  • npm or yarn

Installation

  1. Clone the repository

    git clone https://github.com/alexlux58/CarHub.git
  2. Navigate to the project directory

    cd CarHub
  3. Install dependencies

    npm install
  4. Install dependencies

    npm install