No longer active. This fork has been removed from GitHub. The content below is preserved from MikeWatch's archive.

Maison-Retail-Management-International/mike

Frontend on Cloudflare Workers via OpenNext; backend settled on Render after a failed Workers attempt

Infrastructure and deployment focus. Three topics across recent commits: frontend OpenNext/Workers wiring, a failed-and-reverted backend Workers attempt that confirms LibreOffice is incompatible with the Workers sandbox, and a small CORS fix that's the only piece worth considering for adoption.

View on GitHub →

Maison-Retail-Management-International/mike focused its recent commits on deployment infrastructure. The frontend is now configured for Cloudflare Workers using the OpenNext adapter, with wrangler.jsonc, a committed .env.production for build-time vars, and static asset cache headers. The backend went through a short Workers experiment - a stub worker was added then removed in the same run - and ended up on Render running the standard Express + R2 setup.

The one substantive code change is a CORS hardening patch in backend/src/index.ts: the static origin string is replaced with a callback that strips trailing slashes before comparing, which prevents a silent config-mismatch failure mode, and logs the allowed origin at startup.

What's in it

Direction

infrastructuresecurity

Activity

Themed changes and pull requests touching this fork, newest first. Themed changes that haven't been turned into a public post yet still appear — they're real work even without a published writeup.

Threads of work (detailed view)

4 threads have been distilled into posts.