E-Commerce SPA with Vanilla JavaScript | History API Routing

Опубликовано: 19 Май 2026
на канале: Tanvi
27
0

In this project, I built an E-Commerce Website using Vanilla JavaScript without any frameworks.

🔹 Technologies Used:
HTML
CSS
JavaScript (ES6 Modules)
Fetch API
LocalStorage
History API (pushState & popstate)

🔹 Key Features:
Dynamic product listing from FakeStore API
Add-to-cart functionality
Real-time cart counter updates
Persistent cart data using LocalStorage
Client-side routing using History API (SPA behavior)
Clean modular project structure

This project demonstrates core frontend concepts including:
DOM manipulation
Async/Await
State management
SPA routing without React or other frameworks

#javascript #webdevelopment #frontend #ecommerce #historyapi #vanillajs