Skip to content

rayan239/Car-Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

12 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿš— A Comprehensive Car Marketplace Platform

A modern, responsive, and feature-rich Car Marketplace Platform built with React, Clerk Authentication, and Tailwind CSS, enabling users to browse, search, and list cars seamlessly.

๐ŸŒ Live Demo: car-marketplace-two.vercel.app
๐Ÿ“‚ GitHub Repository: Car-Marketplace


๐Ÿ“– Table of Contents


๐Ÿ“Œ Introduction

This project is a Car Marketplace Website where users can:

  • Explore cars
  • Search by categories
  • View detailed listings
  • List cars for sale
  • Contact the marketplace team

It combines a clean UI with smooth navigation and all essential marketplace features, aiming to deliver a user-friendly online car shopping and listing experience.


๐ŸŽฏ Objectives

  • Develop a responsive and visually appealing car marketplace website
  • Provide search and filter system for efficient car discovery
  • Enable users to list cars with details and categories
  • Implement secure authentication and user profiles using Clerk
  • Add contact form for customer inquiries
  • Provide financial calculation tools for buyers
  • Ensure responsive design across all devices

๐Ÿ“š Literature Review

Inspired by platforms like CarGurus, Cars.com, AutoTrader:

  • โœ… Features considered: listing structure, search functionality, authentication, responsive design, price comparison.
  • โš ๏ธ Limitations in existing platforms:
    • Cluttered with ads
    • Complicated search options
    • Lack of modern UI/animations
    • No modern auth like Clerk
    • Limited messaging & financial tools

๐Ÿ† Project Outcomes

  • Modern React-based Interface โ€“ Responsive, aesthetic UI with Tailwind CSS
  • Advanced Search System โ€“ Multi-criteria search & category filters
  • Financial Calculator โ€“ Built-in loan calculator
  • Secure Authentication โ€“ Clerk-based login/signup with social logins
  • Image Upload System โ€“ Firebase-powered storage
  • Database Management โ€“ PostgreSQL with Drizzle ORM

โš™๏ธ Tech Stack

๐ŸŽจ Frontend

  • React 18 + React Router
  • Tailwind CSS (custom design system)
  • Vite (build tool)
  • React Hook Form
  • Sonner (toast notifications)

๐Ÿ›  Backend & Database

  • PostgreSQL
  • Drizzle ORM
  • Clerk (Authentication)

๐Ÿ“ก APIs & Services

  • Clerk for authentication
  • Firebase (Image storage)

๐Ÿ”ง Development Tools

  • VS Code
  • Git / GitHub
  • React Icons

๐Ÿ–ฅ Environmental Setup

โœ… Prerequisites

  • Node.js (v16 or higher)
  • PostgreSQL Database
  • npm or yarn package manager

โšก Installation

# Clone the repository
git clone https://github.com/rayan239/Car-Marketplace
cd car-marketplace

Install dependencies

npm install

๐Ÿ”‘ Environment Variables

Create a .env file in the project root:

VITE_CLERK_PUBLISHABLE_KEY =pk_test_ZmlybS1ncm91cGVyLTQxLmNsZXJrLmFjY291bnRzLmRldiQ
VITE_DRIZZLE_DATABASE_URL = postgresql://neondb_owner:npg_PD4t9XgwMRKF@ep-dry-rice-a5e6ww4m-pooler.us-east-2.aws.neon.tech/Car_MarketPlace?sslmode=require
VITE_FIREBASE_API_KEY = AIzaSyA7U3XFCZxQ2Y_KiEqub_FqLfy8Hslomog

โ–ถ๏ธ Run the App

npm run dev

๐Ÿš€Project Features

Header & Navigation โ€“ Simple, intuitive navigation bar

Hero Section โ€“ Highlighted landing section

Category Section โ€“ Browse cars by type & fuel

Most Searched Cars โ€“ Popular vehicle highlights

Listing Details Page โ€“ Full car details

Add Listing Page โ€“ Users can post their own cars

Search & Filter โ€“ Multi-criteria search

Contact Page โ€“ Direct messaging form

Profile Page โ€“ Userโ€™s listings & history

Financial Calculator โ€“ Loan estimation tool

Responsive Design โ€“ Mobile & desktop friendly

๐Ÿ”จ Project Implementation

Clerk Authentication โ€“ Handles login, signup & profile states

Search Component โ€“ Query parameterized search

My Listings โ€“ Fetch & manage user listings (Edit/Delete)

Add Listing โ€“ Multi-step form + Firebase image uploads

Financial Calculator โ€“ Amortization formula for loan calculation

๐Ÿ”ฎ Future Work

Payment gateway for premium listings

Advanced filtering (price, mileage, location)

Real-time buyerโ€“seller chat

Progressive Web App (PWA) deployment

Email & push notifications

Vehicle history reports

Multi-language support

โœ… Conclusion

This project successfully implements a modern car marketplace with:

Secure authentication

responsive UI

Intuitive navigation

Financial tools

It addresses gaps in existing platforms (ads, poor UX, lack of modern features) and establishes a scalable foundation for future enhancements.

๐Ÿ“š Links

Clerk Documentation

React Official Docs

Tailwind CSS

๐Ÿ‘จโ€๐Ÿซ Supervisor:

Md. Sozib Hossain

Lecturer, Dept. of CSE, RUET

๐Ÿ“ž +880-1771905794 ๐Ÿ“ง sozibruet99@gmail.com | sozib.hossain@cse.ruet.ac.bd

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors