- Añade scaffold de frontend con Vite y React - Configura Vitest y tests básicos (App, Navbar) - Añade QueryClient y hooks/plantillas iniciales
1.6 KiB
1.6 KiB
Phase 6 Complete: Frontend base (React + Vite + shadcn/ui)
Se scaffoldó el frontend mínimo con Vite + React + TypeScript, configuración de Vitest y pruebas básicas. Los tests unitarios escritos pasan correctamente y el proyecto contiene los componentes y rutas base necesarios para continuar con la Fase 7.
Files created/changed:
- frontend/package.json
- frontend/tsconfig.json
- frontend/vite.config.ts
- frontend/vitest.config.ts
- frontend/index.html
- frontend/postcss.config.cjs
- frontend/tailwind.config.cjs
- frontend/src/main.tsx
- frontend/src/App.tsx
- frontend/src/components/layout/Navbar.tsx
- frontend/src/components/layout/Sidebar.tsx
- frontend/src/routes/index.tsx
- frontend/src/routes/roms.tsx
- frontend/src/routes/games.tsx
- frontend/src/lib/queryClient.ts
- frontend/src/lib/api.ts
- frontend/src/hooks/useGames.ts
- frontend/src/styles.css
- frontend/src/setupTests.ts
- frontend/tests/App.spec.tsx
- frontend/tests/components/Navbar.spec.tsx
Functions created/changed:
Appcomponent (frontend/src/App.tsx)Navbarcomponent (frontend/src/components/layout/Navbar.tsx)Sidebarplaceholder (frontend/src/components/layout/Sidebar.tsx)queryClientexport (frontend/src/lib/queryClient.ts)useGameshook (stub) (frontend/src/hooks/useGames.ts)
Tests created/changed:
- frontend/tests/App.spec.tsx
- frontend/tests/components/Navbar.spec.tsx
Review Status: APPROVED
Git Commit Message: feat: scaffold frontend base (Vite + React + Vitest)
- Añade scaffold de frontend con Vite y React
- Configura Vitest y tests básicos (App, Navbar)
- Añade QueryClient y hooks/plantillas iniciales