3 ms·
That's awesome :) I'm not sure I'm going to use it, though, as it still requires to install a lot of android stuff on the development computer. Something I fi
by Ui1ahcex 6y ago
That's awesome :)
I'm not sure I'm going to use it, though, as it still requires to install a lot of android stuff on the development computer.
Something I find to work well to make apps for myself on my phone without requiring the android ndk : using termux. I have installed nginx within it, then I write react apps that I load in my mobile browser and they make http request to golang apps that run in termux as well. The first time I experimented with that, I thought it would drain my battery, but it turns out I don't see any difference (I don't use a database, though, my apps work with files).
- jniedrauer 6y agoIs there a reason you use nginx instead of serving the frontend using a Go static fileserver?
- Ui1ahcex 6y agoOnly contextual reasons : I have already nginx to serve a few backend-less react apps and static files, so this was less code to write.