4 ms·
But that approach doesn't work if you intend for people to be able to access it from their mobile app, multiple PCs, etc. Slapping a web server into a local de
by ocdtrekkie 4y ago
But that approach doesn't work if you intend for people to be able to access it from their mobile app, multiple PCs, etc.
Slapping a web server into a local desktop install and calling it good basically removes the vast majority of benefits of it being a web app.
- sirsinsalot 4y agoYou can have your cake and eat it here. If you're packaging a "web app" for local installation, you typically have a webserver sufficient for SoHo in your app. In our case, you have "]$ myapp" which runs a web view UI, local process and sqlite db. But you can also launch it with "--serve" options to access it through a web browser and expose it on a network, with sqlite local disk database. You can also launch with "--db=postgresql://postgres@dbhost:5432/postgres?sslmode=disable" to run it against a postgresdb. A bit of work on the "how it runs" aspects can give great flexibility and usability for single-user cases.