FAIZANFULL-STACK DEV
E-Commerce & Food Ordering App2024

Quick Snack Commerce

I built an online snack ordering storefront with PHP/Laravel, JavaScript, and MySQL featuring a no-reload cart and admin order queue.

https://muhammadfaizan01-dev.com/projects/quick-snack
Desktop Viewport • 1440 × 900Quick Snack Commerce
Quick Snack Commerce Desktop Preview

Project Type

E-Commerce Project

My Role

Full-Stack Web Developer

Year Built

2024

Tech Stack Used

Laravel / PHPJavaScript ES6+MySQLAJAX CartOrder Tracking
01 • The Problem

Why This Project Was Needed

Reloading the whole page every time a user adds an item to their cart makes mobile food ordering slow and frustrating.

02 • What I Built

Architecture, API & Database Implementation

Quick Snack Commerce lets customers browse categorized snacks, adjust cart quantities without refreshing the page, apply discount coupons, and submit orders to an admin kitchen screen.

  • JavaScript Fetch/AJAX cart requests connected to Laravel endpoints so cart counts update without page reloads
  • MySQL tables for `categories`, `menu_items`, `orders`, `order_items`, and `coupons`
  • Three-step checkout flow with address validation and order total calculation
  • Admin order screen to move tickets through `Pending`, `Preparing`, `Out for Delivery`, and `Completed`
03 • Engineering Challenges & Solutions

What Was Hard & How I Solved It

Challenge: Keeping cart subtotals accurate when users tap +/- quickly or apply promo codes.

Solution: I recalculated item totals and coupon discounts on the PHP server during every cart call and returned the updated JSON back to the browser.

Key Features Shipped

  • No-reload Fetch/AJAX shopping cart and server-checked promo codes
  • Admin kitchen queue for updating live order status
  • Mobile-friendly menu filters and simple checkout steps
Laravel + MySQL
Backend
Async Fetch
Cart UX
Menu → Checkout
Flow

Next Case Study

CookSmart

Explore Next Project