A full-featured lifestyle e-commerce platform with smart product discovery, persistent cart and wishlist, real-time order tracking, comprehensive admin dashboard with revenue analytics, dark/light theme toggle, and responsive design โ all built with vanilla JavaScript and Firebase backend.
Platform Metrics
The Problem
Established e-commerce platforms charge monthly fees, transaction percentages, and template customization costs that small lifestyle brands can't justify. Shopify, WooCommerce, and BigCommerce all require ongoing investment before the first sale.
TLC needed a custom storefront that looked premium, performed like a native app, and gave them full control over their customer experience โ without the recurring Shopify tax and with analytics that actually informed business decisions.
The Solution
A bespoke e-commerce platform built with vanilla JavaScript and Firebase. Product catalog, cart, checkout, and order management all custom-built. Firebase provides real-time database, authentication, and hosting โ eliminating the need for a custom backend while keeping costs at the free tier level.
The admin dashboard provides real-time revenue tracking, inventory management, and customer analytics. Dark/light theme switching lets customers browse in their preferred mode. Every interaction is optimized for conversion: persistent cart across sessions, one-click wishlist, and a streamlined 3-step checkout.
Features
Tech Stack
Vanilla ES6+ for all storefront logic: product rendering, cart management, filtering/sorting, form validation, and theme switching. No framework overhead.
Firestore for product catalog and orders. Authentication for customer accounts and admin access. Cloud Functions for email notifications. Analytics for user behavior tracking.
Responsive product grid with auto-fit columns. CSS custom properties for theme switching. Smooth animations for cart interactions and page transitions.
Client-side persistence for guest cart, theme preference, recently viewed products, and search history. Syncs with Firebase on authentication.
Architecture
Vanilla JS + CSS Grid storefront with dynamic product rendering, real-time cart updates, and dark/light theme toggle
LocalStorage for guest state โ Firebase sync on authentication. Cart, wishlist, and preferences merge seamlessly on login
Firebase Firestore (products, orders, users), Cloud Functions (email notifications, inventory alerts), Authentication (email/Google)
Chart.js dashboards, CRUD operations for products/orders, role-based access control via Firebase custom claims