There are JS frameworks that port to most platforms in about 3 minutes (use a Mac for iOS builds):
https://quasar.dev/introduction-to-quasar/
That being said, Erlang/Elixir abstracts most db use-cases with ecto, and has some other incredibly powerful scalable features for sites:
https://www.phoenixframework.org/
* Distributed
* Fault-tolerant
* Highly available
* Hot swapping
Depends on the use-case, but if your product is <14 month lifecycle App/shovel-ware, than go JS for the labor compatibility... Yet if you are hitting >40k concurrent users, the options winnow down fairly quickly.
Have fun =3