Skip to content

πŸ’° Online auction platform built with Node.js, Express & MongoDB β€” list items and place bids in real-time! πŸš€

Notifications You must be signed in to change notification settings

Sarthacker/eMarket

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

9 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ›οΈ eMarket – Online Auction Platform

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 🎯


✨ Features

πŸ‘€ User Authentication

  • Secure login and signup system with JWT and Express-Session
  • Personalized dashboard showing My Listings

πŸ“¦ Listing Management

  • Create and edit your product listings
  • Upload product images with live preview
  • End your auction anytime with a single click πŸ”š

πŸ’Έ Real-Time Bidding

  • Place bids on active items
  • Automatically show the current highest bid and bidder

πŸ•“ Auction Lifecycle

  • Active and Ended auctions displayed in separate sections on the home page
  • Items automatically move to the β€œFinished Auctions” section once ended

πŸ’» Responsive Interface

  • Built with Tailwind CSS for a sleeky design
  • Smooth navigation between pages

πŸ› οΈ Tech Stack

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)

πŸš€ Getting Started (Run Locally)

Follow these steps to set up eMarket on your local machine πŸ‘‡

1️⃣ Clone the repository

git clone https://github.com/sarthacker/eMarket.git
cd eMarket

2️⃣ Install dependencies

npm install

3️⃣ Configure environment variables

Create a .env file in the root directory and add:

JWT_SECRET=your_secret_key
DB=your_mongodb_connection_string
PORT=3000

4️⃣ Run the application

node index

5️⃣ Open in browser 🌐

http://localhost:3000

About

πŸ’° Online auction platform built with Node.js, Express & MongoDB β€” list items and place bids in real-time! πŸš€

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published