Feature 01 task 2: Vite React TypeScript web skeleton
Independent review Approved — 0 high findings (#3)

Add web/ with React 19, TypeScript, Vite, React Router 7 and TanStack
Query 5. Scripts: dev, build (tsc --noEmit + vite build), preview,
typecheck and test (Vitest run, jsdom, Testing Library). The dev server
proxies /api, /auth and /media to http://localhost:8080. App renders a
placeholder "MealQuest" shell covered by a smoke test. package-lock.json
is committed; node_modules and dist stay ignored.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-02 22:22:41 -04:00
co-authored by Claude Opus 5.5
parent e3d8c4d73d
commit eb307f5ca2
9 changed files with 2598 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
import { defineConfig } from 'vitest/config'
import react from '@vitejs/plugin-react'
const backend = 'http://localhost:8080'
export default defineConfig({
plugins: [react()],
server: {
proxy: {
'/api': backend,
'/auth': backend,
'/media': backend,
},
},
test: {
environment: 'jsdom',
setupFiles: ['./src/test/setup.ts'],
},
})