Welcome to eMarket, a dynamic and modern online auction platform built using Node.js, Express, MongoDB, and EJS. 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 | EJS Templates, 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 eMarketnpm installCreate a .env file in the root directory and add:
JWT_SECRET=your_secret_key
DB=your_mongodb_connection_string
PORT=3000node indexhttp://localhost:3000