This folder contains the new React frontend that is replacing the legacy vanilla frontend.
- React 19
- Vite 8
- React Router
- Tailwind CSS v4
- Axios
npm run dev-> start dev servernpm run build-> production buildnpm run preview-> preview production buildnpm run lint-> run ESLint
- App layout with shared
NavbarandFooter - Routes:
//products/products/:id/checkout/contact/login/register/forgot-password- fallback route for not found pages
- Providers:
AuthContextCartContextFavoritesContext
- Product service with API fetch + local fallback data
- Use Tailwind utilities for new components and page updates.
- Keep
src/index.csslimited to base global styles. - Do not create new legacy-style CSS modules unless there is a strong technical reason.
- This app is in a hybrid migration stage.
- Some legacy behavior parity checks are still in progress.
- Backend integration to PHP endpoints is not fully complete yet.
- See root-level migration plan for phase status and next tasks:
../migration.md
- Complete per-page visual parity checks (desktop and mobile).
- Finalize auth and cart API contracts.
- Remove dependency on legacy CSS for migrated React pages.