refactor(api): move backend into next route handlers
From the PR description
Summary
- move the former Express API surface into Next.js route handlers under
/api/backend - remove the standalone
backendpackage and keep server code underfrontend/src/server/backend - add oRPC route handlers, client utilities, and TanStack Query provider setup
- document the oRPC decision, TanStack Query pattern, and Node runtime constraints
Validation
npx tsc --noEmitnpm run build- smoke tested
/api/backend/health, protected REST auth, and protected oRPC auth
Notes
- full
npm run lintstill fails on pre-existing frontend lint issues unrelated to this change - uploads, downloads, and SSE keep the existing REST paths for compatibility
Our analysis
Ollama support for local LLMs — read the full analysis →
Think the analysis missed something the PR description covers?
Commits in this PR (1)
| SHA | Subject | Author | Date | |
|---|---|---|---|---|
ee082703 | feat(llm): add ollama support | Johan Eliasson | 2026-05-15 | ↗ GitHub |
Capture this PR into my fork
Download a Markdown prompt that tells Claude how to port every
commit in this PR into your working tree. Run it via
claude -p < capture-pull-141.md from
inside the repo you want the changes in.