3 ms·
You 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.
by sirsinsalot 4y ago
You 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.