Fix backend import error and update proxy for local dev

- Add missing Optional import in backend/app/main.py
- Update Vite proxy to use localhost:8000 for local development
- Add package-lock.json from npm install
This commit is contained in:
Claude
2025-11-19 23:13:20 +00:00
parent 441f62023e
commit 855b91ba78
3 changed files with 2668 additions and 5 deletions

2666
frontend/package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -8,7 +8,7 @@ export default defineConfig({
port: 5173,
proxy: {
'/api': {
target: 'http://backend:8000',
target: 'http://localhost:8000',
changeOrigin: true,
}
}