Merge pull request #1 from serversdwn/claude/nested-todo-app-mvp-014vUjLpD8wNjkMhLMXS6Kd5

Fix backend import error and update proxy for local dev
This commit is contained in:
serversdwn
2025-11-19 18:17:16 -05:00
committed by GitHub
3 changed files with 2668 additions and 5 deletions

View File

@@ -1,7 +1,7 @@
from fastapi import FastAPI, Depends, HTTPException, UploadFile, File from fastapi import FastAPI, Depends, HTTPException, UploadFile, File
from fastapi.middleware.cors import CORSMiddleware from fastapi.middleware.cors import CORSMiddleware
from sqlalchemy.orm import Session from sqlalchemy.orm import Session
from typing import List from typing import List, Optional
import json import json
from . import models, schemas, crud from . import models, schemas, crud
@@ -230,6 +230,3 @@ def root():
"message": "Tesseract API - Nested Todo Tree Manager", "message": "Tesseract API - Nested Todo Tree Manager",
"docs": "/docs" "docs": "/docs"
} }
from typing import Optional

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, port: 5173,
proxy: { proxy: {
'/api': { '/api': {
target: 'http://backend:8000', target: 'http://localhost:8000',
changeOrigin: true, changeOrigin: true,
} }
} }