elitan collapses Mike into a single app

Two services become one - the standalone backend is folded into the Next.js frontend, leaving one thing to deploy.

infrastructure

Mike originally ran as two pieces: a separate backend server and a Next.js web app talking to it. elitan has merged them. The backend code now lives inside the frontend project, and a single catch-all route inside Next.js dispatches incoming API calls to the right place - authentication to one handler, everything else routed through a layer called oRPC (a typed request router) with a compatibility shim so the old backend routes keep working unchanged.

The direction of travel is clear from the surrounding work: drop the separate backend, drop the hosted database dependency, ship Mike as one Next.js app plus a Postgres database and a file store. Fewer moving parts, one process to run, one thing to deploy. The compatibility shim is doing real work here - it's what lets elitan move fast without rewriting every route.

So what Anyone evaluating Mike for self-hosting should watch this fork: it's the cleanest path yet to a one-command deployment.

View this fork on GitHub →

Spotted something wrong? Or know the PR text has fresher detail than the writeup above?

Commits in this thread

3 commits from elitan/mike, oldest first. Source extracted verbatim from the harvested git log.

SHA Subject Author Date
b7320066 refactor(api): move backend into next route handlers Johan Eliasson 2026-05-15 ↗ GitHub
ba3270f4 Codex worktree snapshot: archive-cleanup Johan Eliasson 2026-05-15 ↗ GitHub
Co-authored-by: Codex
9fd7e44b refactor(api): merge latest main Johan Eliasson 2026-05-15 ↗ GitHub

Capture this thread into my fork

Download a single Markdown prompt that tells Claude how to port every commit above into your working tree — adapting paths and structure to match your repo. Run it via claude -p < capture-thread-413.md from inside the repo you want the changes in.

⬇ Download capture-thread-413.md