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.
- 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
- 🛍️ 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.
Ensure you have Node.js installed on your machine.
- Node.js
v18.0.0or higher
- 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 - Install dependencies:
npm install
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_keynpm run devOpen localhost link in your browser to view the app!
MD. Arafat Ferdous
- GitHub: Arafat Ferdous
- LinkedIn: Arafat Ferdous
This project is licensed under the MIT License.