Screenshot of FashionStore

2024 · Solo

FashionStore

A Java servlet-based e-commerce app — catalog, cart, checkout, order history.

A from-scratch e-commerce app built on plain Java servlets rather than a framework like Spring — controllers, DAOs, filters, and models all hand-rolled. AuthFilter guards the authenticated routes (cart, checkout, orders, profile); DAOs handle data access for products, users, carts, and orders; the frontend is server-rendered HTML/CSS/vanilla JS views rather than a JS framework.

Features

  • Product catalog — browse by category (men, women, kids), with listing and detail pages
  • Product variants — sizes and variants per product
  • Authentication — registration, login/logout, session-based auth guarded by a servlet filter
  • Shopping cart — add, update, and manage cart items
  • Checkout — full checkout flow with order confirmation
  • Order history — "My Orders" view of past purchases
  • User profile — view and manage account details

Tech stack

Backend

  • Java 21
  • Jakarta Servlet API 6.0
  • Maven (WAR)
  • Apache Tomcat 10

Data

  • MySQL
  • mysql-connector-j

Frontend

  • HTML
  • CSS
  • Vanilla JavaScript
  • Gson