E-commerce platform for car accessories, phones, gadgets and devices.
React + Vite storefront. Cart, checkout (M-Pesa, Visa/Mastercard, cash on delivery) and WhatsApp ordering.
npm install
npm run dev
npm run build
This creates a dist folder. Upload it to Netlify, Vercel or GitHub Pages.
src/config.js: WhatsApp number, M-Pesa Till number, card payment link, Instagram linksrc/data/products.js: your products and pricespublic/logo.jpg: your logosrc/styles.css: colours and layout (colours are at the top, in :root)index.html page shell
src/main.jsx starts the app
src/App.jsx cart logic + puts the pieces together
src/components/ Header, Hero, Shop, ProductCard, CartDrawer, Checkout, ...
src/data/products.js product list
src/config.js your business settings
src/styles.css all styling
Coming later: a server to save orders, confirm M-Pesa payments automatically (Daraja STK push), and handle card payments.
E-commerce platform for car accessories, phones, gadgets and devices.