A full-stack marketplace application built with React, Node.js, Express, and MongoDB. Users can list products, browse categories, and manage their marketplace listings.
- User Authentication - Registration, login with validation
- Product Management - Create, read, update, delete product listings
- Category Browsing - Filter by Electronics, Vehicles, Furniture, etc.
- Wishlist System - Save favorite products with heart toggle
- Seller Information - View seller details on product pages
- Responsive Design - Mobile-first with Tailwind CSS
Frontend: React 18, React Router, Tailwind CSS, Material Symbols Backend: Node.js, Express.js, MongoDB, Mongoose, CORS Tools: Nodemon, Git
miniOLX1.0/
├── backend/
│ ├── controllers/ # Business logic
│ ├── models/ # Database schemas
│ ├── routes/ # API endpoints
│ └── index.js # Server entry
├── frontend/
│ ├── src/Pages/ # React components
│ ├── src/Layout/ # Layout components
│ └── public/ # Static assets
└── README.md
- Node.js (v14+)
- MongoDB (local or Atlas)
- Git
-
Clone & Install
git clone <repository-url> cd miniOLX1.0 # Backend cd backend && npm install # Frontend cd ../frontend && npm install
-
Setup Database
# Create database mongosh use miniOLX
-
Start Development
# Terminal 1 - Backend cd backend npm start # Terminal 2 - Frontend cd frontend npm start
-
Access Application
- Frontend: http://localhost:3000
- Backend: http://localhost:8010
Users: GET|POST /user
, GET /user/:id
Products: GET|POST /product
, GET|PATCH|DELETE /product/:id
, GET /product/category/:category
Wishlist: POST|DELETE /wishlist
, GET /wishlist/has
, GET /wishlist
- JWT Authentication
- Image Upload
- Real-time Chat
- Payment Integration
- Advanced Search
- Mobile App