A React/Vite demonstration website for Baking Solution and Restaurant, 50 Woji Road, Port Harcourt, Rivers State, Nigeria.
- Install Node.js 18 or newer.
- Run
npm install. - Run
npm run devand open the displayed local address. - Run
npm run buildbefore deployment to verify the production build.
Stop the dev server, then delete the node_modules folder and package-lock.json file, run npm install, and start again with npm run dev. This clears stale Vite browser dependencies and restores any optional Windows build dependency that npm may have skipped. The application itself also safely clears a corrupted saved cart value rather than rendering a blank page.
- Navigate every page from the header and footer.
- Filter and search catalogue listings on Menu, Bakery and Baking Supplies.
- Use each WhatsApp button; the message is prefilled and directed to
2348023074613. - Use the contact form; it validates required fields and opens WhatsApp rather than pretending to submit to a backend.
- Add confirmed-price products to the enquiry cart when such products are configured in
src/data/products.js. Cart contents persist in localStorage.
All product data lives in src/data/products.js. Update product fields there. Only set priceConfirmed: true and a numeric price after the owner verifies them. Products without confirmed prices remain enquiry-only and cannot create a misleading cart total.
- Replace Unsplash demonstration images with owner-approved images.
- Confirm products, prices, stock, opening hours, website domain and business story.
- Update
public/sitemap.xmlfromexample.comto the deployed canonical domain. - Add an enquiry backend/email service only if the owner wants website form submissions stored or emailed.
Push the project to GitHub, import it into Netlify or Vercel, and use npm run build with dist as the publish directory. Both platforms support Vite SPA routing; configure a catch-all rewrite to /index.html if the host requires it.