feat(FN-002): complete Step 2 — React Frontend App Skeleton

This commit is contained in:
Fusion
2026-05-14 01:23:01 +02:00
parent d74f77fd33
commit 79203d2f0f
16 changed files with 3175 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
/// <reference types="vitest/config" />
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
export default defineConfig({
plugins: [react()],
server: {
port: 5173,
proxy: {
'/api': {
target: process.env.VITE_API_URL || 'http://localhost:8000',
changeOrigin: true,
},
},
},
test: {
globals: true,
environment: 'jsdom',
include: ['src/**/*.{test,spec}.{ts,tsx}'],
setupFiles: ['./src/__tests__/setup.ts'],
},
})