Skip to content

netteNz/ebay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eBay Auction Platform

A Java-based auction web application built with Jakarta EE. This project demonstrates a full-stack marketplace prototype with authentication, product listings, and admin management.

Tech Stack

  • Java: 21
  • Framework: Jakarta Servlet / JSP (EE 6.0)
  • Build: Maven 3.8+
  • Database: MySQL 8.x
  • Server: Apache Tomcat 10.1+

Status

  • ✅ Authentication & authorization
  • ✅ Product listings & admin dashboard
  • 🔄 Bidding engine (in progress)
  • 📋 Product details, bid history, auction close logic (planned)

Project Structure

src/main/java/com/nettenz/ebay/
├── db/        # Database connection
├── dao/       # Data access layer
├── servlet/   # Auth, product, admin, image endpoints
├── filter/    # Auth & role-based access
└── util/      # Password hashing

src/main/webapp/
├── index.jsp
└── WEB-INF/jsp/ (auth, product, admin views)

db/schema.sql
uploads/        # Product images

Quick Start

Prerequisites

Java 21 · Maven · MySQL 8 · Tomcat 10.1+

Setup

mysql -u root -p
SOURCE db/schema.sql

mvn clean package
cp target/ebay-1.0-SNAPSHOT.war $CATALINA_HOME/webapps/

Access: http://localhost:8080/ebay-1.0-SNAPSHOT/

Core Features

  • Session-based authentication with BCrypt hashing
  • USER / ADMIN role separation via servlet filters
  • Product creation, browsing, and categorization
  • Image upload or external image URL support
  • Admin dashboard for users, products, and departments

Database

Core tables: users, products, departments, bids
See db/schema.sql for full DDL.

Security

Implemented: BCrypt hashing, PreparedStatements, role-based access
Planned: CSRF tokens, HTTPS, XSS sanitization, rate limiting

Notes

  • Database credentials and upload paths are currently hardcoded
  • Use environment variables in production

Author

Emanuel
Systems and Architectural Replica · Started December, 2025

About

Bidding website replica

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published