Update .gitignore to exclude TypeScript build info and add dist directory. Expand README with project overview, technology stack, prerequisites, and instructions for running and testing the application.
ci / server (push) Failing after 4m10s
ci / client (push) Successful in 17s

This commit is contained in:
Leonid Pershin
2026-08-18 11:11:48 +03:00
parent 84aafb0b69
commit e6739e7912
84 changed files with 5698 additions and 2 deletions
+27
View File
@@ -0,0 +1,27 @@
import { defineConfig } from 'vite';
// Aspire injects SERVER_HTTP / SERVER_HTTPS from the `server` resource reference,
// so the dev server proxies to whatever port the backend actually got.
const backend = process.env.SERVER_HTTPS ?? process.env.SERVER_HTTP ?? 'http://localhost:5180';
export default defineConfig({
server: {
proxy: {
'/api': {
target: backend,
changeOrigin: true,
secure: false,
},
'/ws': {
target: backend,
changeOrigin: true,
secure: false,
ws: true,
},
},
},
build: {
target: 'es2022',
sourcemap: true,
},
});