Skip to content

ReshDeen/aWebZone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

aWebZone Cafe β˜•

A frontend coffee shop website built with HTML, CSS, and JavaScript.

This project includes a complete user journey:

  • Landing page
  • Login / signup
  • Product discovery
  • Product details + add to cart
  • Cart management with quantity controls
  • Payment method selection
  • Method-specific checkout pages
  • About / contact / feedback section

✨ Features

  • Responsive UI across major pages
  • Animated interactions powered by GSAP (loaded dynamically)
  • Product carousel with live product detail updates
  • Cart persistence using browser localStorage
  • Shipping address persistence across checkout pages
  • Multiple payment options:
    • GPay
    • PhonePe
    • Card
    • Internet Banking
  • Star-based feedback interaction on About page

🧱 Tech Stack

  • HTML5
  • CSS3
  • JavaScript (Vanilla)
  • Google Fonts
  • GSAP (CDN-loaded at runtime)

πŸ“‚ Project Structure

webzone/
β”œβ”€β”€ index.html                 # Landing page
β”œβ”€β”€ auth.html                  # Login / signup page
β”œβ”€β”€ success.html               # Signup success page
β”œβ”€β”€ products.html              # Product listing and latest arrivals
β”œβ”€β”€ product-details.html       # Product carousel + buy/add-to-cart
β”œβ”€β”€ product-details.js         # Product data + cart add logic
β”œβ”€β”€ product-details.css        # Styling for product details page
β”œβ”€β”€ cart.html                  # Cart page with quantity + total + shipping
β”œβ”€β”€ payment.html               # Payment method chooser
β”œβ”€β”€ gpay.html                  # GPay payment view
β”œβ”€β”€ phonepe.html               # PhonePe payment view
β”œβ”€β”€ card-payment.html          # Card payment view
β”œβ”€β”€ internet-banking.html      # Internet banking payment view
β”œβ”€β”€ about.html                 # About + contact + rating + feedback
β”œβ”€β”€ style.css                  # Shared styles (landing/auth and common)
β”œβ”€β”€ products.css               # Additional products styles (if used)
└── script.js                  # Shared animation and interaction logic

Note: The pages reference multiple image files (e.g., image copy 7.png, image copy 11.png, QR image, etc.). Keep all referenced images in the same directory or update paths.


πŸš€ How to Run

Because this is a static frontend project, no build step is required.

Option 1: Open directly

  1. Open index.html in your browser.

Option 2: Run a local server (recommended)

Using VS Code Live Server or any static server gives better consistency.

Example with Python:

python -m http.server 5500

Then open:

http://localhost:5500/index.html

πŸ” User Flow

  1. Home (index.html) β†’ click start/login
  2. Auth (auth.html) β†’ Sign up
  3. Success (success.html) β†’ Continue
  4. Products (products.html) β†’ open best collections
  5. Product Details (product-details.html) β†’ add item to cart
  6. Cart (cart.html) β†’ adjust quantity + add shipping address
  7. Payment Selection (payment.html) β†’ choose method
  8. Payment Method Page (gpay.html, phonepe.html, card-payment.html, internet-banking.html)
  9. Continue shopping, logout, or share feedback

πŸ’Ύ Local Storage Keys Used

The application stores state in the browser using:

  • awebzoneCart

    • Array of cart items with:
      • id
      • name
      • description
      • price
      • image
      • qty
  • awebzoneShippingAddress

    • String shipping address entered on cart page

To reset app state, clear these keys from browser storage.


πŸ“„ Page Details

index.html

  • Brand hero section and entry point to login/signup.

auth.html

  • Login/signup UI (demo flow) with redirect to success page.

success.html

  • Visual success confirmation and route into products.

products.html

  • Hero with product cards and latest arrivals section.

product-details.html + product-details.js

  • Radio-based product carousel.
  • Product name/price/description update based on selected item.
  • Add-to-cart logic with quantity merge if same product exists.

cart.html

  • Renders cart from storage.
  • Quantity increment/decrement.
  • Remove item.
  • Live total calculation.
  • Shipping address auto-save and reuse.

payment.html

  • Payment method chooser page with navigation to specific method pages.

Payment method pages

  • gpay.html
  • phonepe.html
  • card-payment.html
  • internet-banking.html

All these pages:

  • Display stored shipping address.
  • Offer continue shopping, logout, and feedback actions.

about.html

  • About section content.
  • Contact fields.
  • Clickable star rating.
  • Feedback textarea and submit alert.

⚠️ Current Limitations

  • Authentication is UI-only (no backend validation).
  • Payments are simulation pages (no real payment gateway integration).
  • Total amount shown on method pages is currently static text (1234) and not synced from cart total.
  • Form submissions (contact/feedback) are not persisted to backend.

βœ… Suggested Improvements

  • Integrate backend for auth and session handling.
  • Persist orders and payment status.
  • Pass dynamic cart total to all payment method pages.
  • Add form validation for contact and signup fields.
  • Add toast notifications instead of alert for better UX.
  • Add tests for core cart and product logic.

πŸ‘©β€πŸ’» Authoring Notes

  • Designed as a beginner-friendly static ecommerce-style demo.
  • Easy to customize colors, content, and product data.
  • Best suited for portfolio/demo usage and frontend learning.

πŸ“œ License

No explicit license file is currently included. If you plan to share or publish this project, add a LICENSE file (for example MIT).

About

πŸ₯‡ 1st Place – TEXUS’26 UI-to-Code Challenge @ SRM IST Chennai This repository showcases aWebZone, our winning project that secured the top prize at TEXUS’26.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors