
OPT OnDemand is a Czech producer of personalized products, supplying both end customers and major e-commerce players such as Zalando. Their production runs entirely “on demand,” with no inventory kept in stock. We helped rewrite and stabilize key parts of their system and reduce operational costs.
NodeJS, TypeScript, NestJS, NextJS, Electron, NX Monorepo, GitHub Actions, Google Cloud, Terraform CDK, Vercel
OPT needed a stable, predictable, and scalable system capable of managing their on-demand production. The original N8N-based setup was no longer sufficient—process managers couldn’t work with it effectively, and it slowed production down. Our mission was to rewrite the entire workflow into a custom backend, unify the technological foundation, and create an environment that supports quick adjustments, long-term development, and reliable operation.

We took the project over in poor condition: significant technical debt, no standards, no documentation, and the original developer long gone. The N8N workflows were complex, unstable and expensive to run. The biggest headache was integrating into the existing Next.js frontend — chaotically written, full of re-renders and side effects that caused bugs. Every time we connected new logic it required careful investigation, refactoring and testing.

We fully rewrote the N8N workflows into a custom NestJS backend, giving the system a clear architecture and reducing costs—no more need to run a Kubernetes cluster. At the same time, we gradually refactored the Next.js frontend, eliminated unnecessary re-renders, and integrated new logic in a stable way. We also developed a standalone Electron application with automatic updates and printer integration. The result is a clean, maintainable system ready for long-term growth.

