Skip to content

Repository files navigation

🛒 PreOwned Marketplace - Frontend Client

This repository contains the client-side web application for the PreOwned Marketplace platform. Built with Next.js, React, and Tailwind CSS, it provides an intuitive, responsive interface for Buyers, Sellers, and Admins to interact with pre-owned products seamlessly.


🛠️ Tech Stack

  • Framework: Next.js (App Router / Pages Router) / React.js
  • Styling: Tailwind CSS
  • Icons: Lucide React
  • Charts: Recharts (for Seller & Admin Analytics)
  • HTTP Client: Axios
  • Payment Integration: Stripe React SDK

🔑 Key Features

  • 🛍️ Buyer Portal: Browse pre-owned items, search and filter by categories, and pay securely via Stripe.
  • 📦 Seller Dashboard: Add product listings, track order status, and analyze sales performance with charts.
  • 🛡️ Admin Control Center: Systemic overview to manage all users, platform products, and order stages.
  • 🔄 Real-Time Order Tracking: Live delivery status updates for buyers and sellers.
  • 📱 Fully Responsive UI: Dark-themed modern layout optimized for mobile, tablet, and desktop views.

⚡ Getting Started

Prerequisites

Ensure you have Node.js installed on your machine.

  • Node.js v18.0.0 or higher

Installation

  1. Clone the repository:
    git clone [https://github.com/code-with-arafat/pre-owned-client.git](https://github.com/code-with-arafat/pre-owned-client.git)
    cd preowned-client
    
  2. Install dependencies:
    npm install
    
  3. Environment Setup (.env.local)

Create a .env.local file in the root directory and configure the following variables:

NEXT_PUBLIC_API_URL=http://localhost:5000
NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY=your_stripe_publishable_key

Run the development server:

npm run dev

Open localhost link in your browser to view the app!


👨‍💻 Author

MD. Arafat Ferdous


📝 License

This project is licensed under the MIT License.

About

A modern second-hand marketplace web app with role-based access, dynamic seller analytics, and secure Stripe payment integration.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages