Skip to content

About

baking-solution-website

Resources

Stars

113 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

Repository files navigation

Baking Solution and Restaurant

A React/Vite demonstration website for Baking Solution and Restaurant, 50 Woji Road, Port Harcourt, Rivers State, Nigeria.

Run locally

  1. Install Node.js 18 or newer.
  2. Run npm install.
  3. Run npm run dev and open the displayed local address.
  4. Run npm run build before deployment to verify the production build.

If the project was previously run and shows a blank screen

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.

Features to test

  • 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.

Editing the catalogue

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.

Before launch

  • Replace Unsplash demonstration images with owner-approved images.
  • Confirm products, prices, stock, opening hours, website domain and business story.
  • Update public/sitemap.xml from example.com to the deployed canonical domain.
  • Add an enquiry backend/email service only if the owner wants website form submissions stored or emailed.

Deploying

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.

About

baking-solution-website

Resources

Stars

113 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages