feat: migrate to Cloudflare Workers with icon and version upload

Replace Express/SQLite and web/ with frontend/, worker/, and wrangler deploy. Add optional app icon upload, date-based app_version, and build-app workflow input.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-05-29 13:30:05 +08:00
parent 0921e5f7a1
commit b69dfc4813
55 changed files with 3285 additions and 3411 deletions

17
frontend/src/App.tsx Normal file
View File

@@ -0,0 +1,17 @@
import { Route, Routes } from "react-router-dom";
import Layout from "./components/Layout";
import BuildList from "./pages/BuildList";
import JobStatus from "./pages/JobStatus";
import Upload from "./pages/Upload";
export default function App() {
return (
<Routes>
<Route element={<Layout />}>
<Route path="/" element={<Upload />} />
<Route path="/jobs" element={<BuildList />} />
<Route path="/jobs/:id" element={<JobStatus />} />
</Route>
</Routes>
);
}