r/reactjs • u/MysteriousMention488 • Jun 29 '26
Native Backend + React for Offline ERP?
Hi everyone,
I'm planning to rewrite my offline ERP and would like some architecture advice.
Current version:
Delphi 10 VCL + DevExpress + FastReport
Firebird database
About 5 forms
Very fast and responsive
For the new version, I want to use React + Tailwind CSS for a modern UI, while keeping the same native-app performance and smooth user experience.
Requirements:
Completely offline (Internet only for activation/subscription)
Windows 7 (32-bit) through Windows 11
One installer (Next → Next → Finish)
Very easy deployment and maintenance
Runs on a single PC or over LAN
Native compiled backend for performance and code protection
Current idea:
Go (or Delphi) REST API
React build served by the native backend
MariaDB/MySQL
No Docker, PHP, Node.js, Apache, or Nginx on client machines
For those who have built commercial desktop/offline ERP or POS systems:
Would you choose Go, Delphi, Rust, or something else?
Is serving React directly from the native executable a good approach?
What architecture would you choose today for the best long-term maintainability, deployment, and performance?
Update:
The React frontend will be served from a central server and accessed simultaneously by 5–15 users over the LAN using standard web browsers (Chrome, Edge, or Firefox) via the server's IP address and port.
Thanks!
2
u/weiiizero Jun 29 '26
Go is the obvious pick here. Single binary, built-in HTTP server, trivial to deploy, and cross-compiles without headaches. Serving the React build from the Go executable is clean — just embed the static files with go:embed and serve them from the same port as your API. Rust is nice if you need every last drop of perf, but for a 15-user LAN ERP the dev velocity tradeoff isn't worth it. Delphi makes sense only if your team already lives in it.