This project is a full-stack application for buying , selling and recycling electronic items. It includes a frontend for users to browse and list products and a backend for handling authentication, product listings, and transactions.
- User authentication (Login/Signup)
- Listing electronic items for sale
- Buying items from sellers
- Secure payment processing
- Product filtering and sorting
- Responsive UI
/seller-buyer-marketplace
├── backend/ # Node.js + Express + Database
├── frontend/ # React/Next.js + Tailwind CSS
├── README.md
- React.js / Next.js
- Tailwind CSS / Material UI
- Redux / Context API
- Axios for API calls
- Node.js + Express.js
- MongoDB (Mongoose ORM) / PostgreSQL (Prisma ORM)
- JWT Authentication
- Cloudinary / Firebase for image uploads
git clone https://github.com/your-username/seller-buyer-marketplace.git
cd seller-buyer-marketplacecd backend
npm installCreate a .env file in the backend/ directory and add:
PORT=5000
MONGO_URI=your-mongodb-connection-string
JWT_SECRET=your-secret-key
CLOUDINARY_API_KEY=your-cloudinary-keynpm run dev cd ../frontend
npm installnpm run dev- Visit
http://localhost:3000/for the frontend. - Use
h${import.meta.env.VITE_API_BASE_URL}/api/for backend API routes. - Register or login to list and buy products.
Ensure you configure your .env files properly for both frontend and backend.



