Trendora is a modern web platform designed to simplify the exchange of second-hand goods. This repository houses the frontend of Trendora, crafted with contemporary web technologies to deliver an intuitive, fast, and user-friendly marketplace experience.
✅ User-Friendly Interface - A seamless and intuitive UI for buyers and sellers.
✅ Product Listings - Users can list, browse, and purchase second-hand products.
✅ Category-Based Navigation - Browse products by category for quick access.
✅ Secure Authentication - Login and register using Custom Authentication.
✅ Real-Time Search & Filters - Advanced search and filtering for better discovery.
✅ Mobile Responsiveness - Optimized for all screen sizes and devices.
| Technology | Purpose |
|---|---|
| Next.js 15 | Frontend framework |
| ShadCN UI | Modern UI components |
| Tailwind CSS | Utility-first styling |
| Custom Auth | User authentication & authorization |
resellbd-frontend/
│-- public/ # Static assets (images, icons, etc.)
│-- src/
| |── actions # Auth Action
│ ├── app/ # Application-level components and pages
│ ├── components/ # Reusable UI components
│ ├── constants/ # Constant values used throughout the app
│ ├── context/ # Context API
│ ├── lib/ # Utility functions and helper libraries
│ ├── providers/ # Context and global state providers
│ ├── types/ # TypeScript type definitions
│ ├── hooks/ # Custom React hooks
│ ├── services/ # API and service-related functions
│-- middleware.ts # Middleware configuration
│-- .env # Environment variables
│-- .gitignore # Git ignore file
│-- package.json # Dependencies & scripts
│-- README.md # Project documentation
- Clone the repository
git clone https://github.com/rafiferdos/trendora.git
- Navigate to the project directory
cd trendora - Install dependencies
npm install
- Set up environment variables
Update
.envwith:NEXT_PUBLIC_BASE_API=https://swap-nest-server-seven.vercel.app/api
- Start the development server
npm run dev
| Command | Description |
|---|---|
npm run dev |
Starts the development server |
npm run build |
Builds the project for production |
npm run start |
Runs the production build |
npm run lint |
Checks for linting errors |
- Backend Base URL:
NEXT_PUBLIC_BACKEND_URL - Endpoints Used:
GET /listings→ Fetch all productsGET /listings/:id→ Fetch product detailsPATCH /listings/:id→ Update product dataDELETE /listings/:id→ Delete productPOST /listings→ Add a new productPOST /transactions→ Place an order
- Custom Authentication is used for user login & registration.
- JWT (JSON Web Token) is implemented for secure API calls.
- Role-based access control (RBAC) for admin and users.
- HTTPS enforced for secure communication.
- Modern Design - Uses ShadCN UI & Tailwind CSS for a clean, responsive layout.
Github Link: https://github.com/rafiferdos/trendora
Live Link: https://trendora-black.vercel.app/