We have a distributed microservice based webapp. Has a handful of APIs (written in Go and .NET core which are both cross platform capable). Now we have a requirement to run the whole infrastructure offline as a desktop app.
I’ve seen at least one example where someone just packaged the binaries of their APIs with their electron app.
Then bootstrapped the APIs when electron started up. Then just called the APIs from their electron app using localhost.
Does this seem like a good approach? What other approaches have people taken?