Skip to content

Latest commit

 

History

History
37 lines (26 loc) · 737 Bytes

File metadata and controls

37 lines (26 loc) · 737 Bytes

RideCore

Small ecommerce demo React + Vite + TypeScript project with Redux and Supabase wiring.

What I added during the code review session:

  • Tests using Vitest + Testing Library with src/setupTests.ts.
  • cartSlice now computes total automatically.
  • A bunch of component/unit tests are present under src/tests/.

Quick start

  1. Install dependencies
npm install
  1. Run dev server
npm run dev
  1. Build
npm run build
  1. Run tests
npx vitest run --reporter verbose

Notes

  • The project intentionally defaults formatPrice to en-US/USD for tests; adapt to app locale if required.
  • Consider adding environment variables for Supabase in .env.