Seamazon
An ecommerce website
Overview
Seamazon is a simple online shopping website I built from scratch for my software architecture class. The main goal was to implement a clean three-layer architecture (UI → Logic → Database) and support two roles: Admin and User.
Admins manage products, and users shop, just like a mini Amazon.
What It Does
Seamazon supports the core features you’d expect in an online store:
For Users
● Create an account and log in
● Update profile details
● Search for products
● View product details (image, name, price, description)
● Add items to a shopping cart
● “Pay” for items (simulated – updates the database only)
For Admins
● Create an account and log in
● Log in as Admin
● Add new products
● Edit product details
● Delete products
● Update their own profile
How It Works
I followed the standard 3-layer architecture:
UI Layer:
All screens (login, registration, product list, product details, admin panel, shopping cart) are separate from the logic.
Everything the user sees happens here.
Logic Layer:
This layer handles:
● Registration & login validation
● Product CRUD operations
● Search logic
● Cart operations
● Quantity updates during “payment”
It keeps the UI and database cleanly separated.
Database Layer
This is where all data is stored.
Products table: picture, name, price, description, quantity
Users/Admins table: username, email, password, address, phone number, role
All changes (profile edits, product updates, purchases) go through the logic layer before being saved here.
What I Learned
Building Seamazon helped me understand the basics of how an online store works.
I learned how to:
● Separate the UI, logic, and database
● Connect user actions to real updates in the system
● Manage products, cart items, and quantities
● Write cleaner, more organized code
Tech Stack
Java · React.js · PostgreSQL (SQL) · Postman (API Testing)
Final Thoughts
Seamazon is a simple but complete mini-ecommerce site. It has login, product management, search, a cart, and a checkout flow.
It was fun to build and helped me understand how real shopping apps are structured from end to end.