The customer-facing storefront for SoftBazzar, a small digital-products catalogue. This repository is focused on the web experience: browsing products, filtering the catalogue, managing a local cart, reviewing policies, and handing a customer off to the configured support/checkout channel.
The code is intentionally lightweight. It uses Vite and plain JavaScript rather than a large frontend framework, with product and category data kept separately from the rendering code.
- searchable product catalogue and category filters
- product variants and stock/availability states
- cart state persisted in the browser
- checkout summary and support hand-off
- privacy and terms pages
- responsive storefront UI
- Vercel Analytics integration
- small asset-processing scripts used while maintaining the catalogue
Install dependencies and start Vite:
npm install
npm run devBuild the production site with:
npm run buildPreview the generated build locally:
npm run previewsrc/main.js storefront behaviour and rendering
src/data.js catalogue/category data
src/pages.js static policy/support page content
src/index.css visual system and responsive styles
public/ static assets
The repository also contains a few maintenance scripts for catalogue/assets. They are not required for normal storefront browsing.
This repository contains the web storefront, not the full operational backend. Supplier synchronization, order processing and Telegram automation are maintained separately. Keeping those concerns separate makes the public-facing site easier to deploy and reason about.