Files
wursor/web/vite.config.ts
T
SinachPat 9733ba6e3c
Mirror to GitHub / mirror (push) Canceled after 0s
feat: Sprint 1 slice 1 — API signup + web signup/chat shell
- api: Fastify POST /auth/signup (validation, scrypt hash, in-memory store)
- web: React+Vite SignUp form and chat shell with dev proxy
- 35 tests green (api 5, web 2, e2e 28)
2026-08-15 19:53:13 +01:00

16 lines
304 B
TypeScript

import react from '@vitejs/plugin-react';
import { defineConfig } from 'vitest/config';
export default defineConfig({
plugins: [react()],
server: {
proxy: {
'/auth': 'http://localhost:3000',
},
},
test: {
environment: 'jsdom',
setupFiles: ['./src/test-setup.ts'],
},
});