How izhanruaif/glassify works
Glassify is a static glasses e-commerce site with a webcam-based virtual try-on feature, plus two React integration demos for the Jeeliz widget. The main user path is browsing the storefront, consulting product/SKU information, and opening the try-on experience; authentication and cart pages are additional documented capabilities. The excerpts support the storefront navigation script and the React demos’ widget lifecycle and controls, but do not show the static pages’ wiring or the underlying widget implementation, so those relationships are left unasserted.
Main entry points: JeelizVTOWidget.js Jeeliz widget · home.html Home page · products.html Products page · index3.html Try-on page
Components 17
Glassify storefront
- Home page
home.html - Products page
products.html - SKU catalog
glassesSKU.csv - Cart page
cart.html - Account pages
login.html - About page
about.html - Contact page
contact.html - Storefront interactions
js/script.js
Virtual try-on
- Try-on page
index3.html - Jeeliz widget
dist/JeelizVTOWidget.js - Glasses models
glasses3D
React demos
- Webpack demo entry
reactIntegrationDemo/src/index.js - Webpack try-on canvas
reactIntegrationDemo/src/js/components/AppCanvas.js - Vite demo entry
reactViteIntegrationDemo/src/main.jsx - Vite app
reactViteIntegrationDemo/src/App.jsx - Vite try-on canvas
reactViteIntegrationDemo/src/components/AppCanvas.jsx
Other components
- Shopper
Connections 17
- Shopper → Home page: browses
README.md - Shopper → Products page: browses
README.md - Shopper → Cart page: manages cart
README.md - Shopper → Account pages: signs in
README.md - Shopper → About page: visits
README.md - Shopper → Contact page: visits
README.md - Home page → Try-on page: redirects
README.md - Products page → SKU catalog: uses SKUs
README.md - Shopper → Webpack demo entry: opens demo
reactIntegrationDemo/src/index.js - Webpack demo entry → Webpack try-on canvas: renders
reactIntegrationDemo/src/index.js - Webpack try-on canvas → Jeeliz widget: starts and controls
- Shopper → Vite demo entry: opens demo
reactViteIntegrationDemo/src/main.jsx - Vite demo entry → Vite app: renders
reactViteIntegrationDemo/src/main.jsx - Vite app → Vite try-on canvas: renders
reactViteIntegrationDemo/src/App.jsx - Vite try-on canvas → Jeeliz widget: starts and controls
- Try-on page → Jeeliz widget: uses
- Jeeliz widget → Glasses models: loads models