- FastAPI backend with /health, /api/search, /api/downloads CRUD + retry - Provider abstraction (mock provider for architecture validation) - SQLAlchemy models with DownloadStatus state machine - Python polling worker simulating job lifecycle without real downloads - React/Vite/TypeScript frontend: search, results table, download queue with progress - Docker Compose wiring all services with postgres healthcheck - .env.example, updated README and .gitignore Co-Authored-By: Paperclip <noreply@paperclip.ing>
13 lines
250 B
TypeScript
13 lines
250 B
TypeScript
import { defineConfig } from "vite";
|
|
import react from "@vitejs/plugin-react";
|
|
|
|
export default defineConfig({
|
|
plugins: [react()],
|
|
server: {
|
|
proxy: {
|
|
"/api": "http://backend:8000",
|
|
"/health": "http://backend:8000",
|
|
},
|
|
},
|
|
});
|