Initial commit

This commit is contained in:
nholtware 2026-11-05 12:41:34 -06:00
commit 69da1d8f34
34 changed files with 5531 additions and 0 deletions

19
vite.config.ts Normal file
View file

@ -0,0 +1,19 @@
import react from "@vitejs/plugin-react";
import { defineConfig } from "vitest/config";
export default defineConfig({
plugins: [react()],
server: {
// Local dev: proxy /api to a backend (e.g. the service-template-express dev server).
proxy: {
"/api": {
target: process.env.API_PROXY_TARGET ?? "http://localhost:3000",
rewrite: (p) => p.replace(/^\/api/, ""),
},
},
},
test: {
environment: "jsdom",
setupFiles: ["./src/test-setup.ts"],
},
});