Welcome to eMarket, a dynamic and modern online auction platform built using Node.js, Express, MongoDB, and ReactJS. eMarket connects buyers and sellers through auctions — allowing users to list items, bid competitively, and buy their favorite products 🎯
- Secure login and signup system with JWT and Express-Session
- Personalized dashboard showing My Listings
- Create and edit your product listings
- Upload product images with live preview
- End your auction anytime with a single click 🔚
- Place bids on active items
- Automatically show the current highest bid and bidder
- Active and Ended auctions displayed in separate sections on the home page
- Items automatically move to the “Finished Auctions” section once ended
- Built with Tailwind CSS for a sleeky design
- Smooth navigation between pages
| Category | Technology |
|---|---|
| Backend | Node.js, Express.js (ES6) |
| Database | MongoDB Atlas |
| Frontend | ReactJS (Vite), Tailwind CSS |
| Authentication | Express-Session and JWT |
| File Uploads | Multer |
| Runtime | Node.js (v22) |
Follow these steps to set up eMarket on your local machine 👇
git clone https://github.com/sarthacker/eMarket.git
cd eMarketCreate a .env file in the root directory and add:
JWT_SECRET=your_secret_key
DB=your_mongodb_connection_string
PORT=3000cd backend
npm install
node indexBackend runs at:
http://localhost:3000cd frontend
npm install
nom run devFrontend runs at:
http://localhost:5173http://localhost:5173