Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Elm + elm-ui[1] (dont worry about CSS so much) + generated Elm client lib from GraphQL schema + Hasura (GraphQL over Postgres) + Postgres => strong type safety from db schema to frontend with SPA-first workflow; possibly add ReactAdmin[2] to the mix if that sort of thing is needed.

Rust + Actix + Yew (Rust browser framework compiling to WASM) => also verrrry nice vor SPA-first!

Slightly more traditional: Kotlin and jOOQ on the server side.

I also tend to let go of the HTML syntax lately, by using templating eDSLs such as in Elm, or in Rust's Maud[3], or in Kotlin's kotlinx.html or HtmlFlow.

[1]: https://www.youtube.com/watch?v=Ie-gqwSHQr0

[2]: https://github.com/hasura/ra-data-hasura

[3]: https://maud.lambda.xyz/

[4]: https://github.com/Kotlin/kotlinx.html

[5]: https://github.com/xmlet/HtmlFlow



As someone fairly new to elm:

How do you mix Elm with something like react-admin? Do you set up an elm SPA and embed the react part as a custom element? Or do you go the other way around, having the main App be JS controlled and only some components be an embedded elm App?


No mixing. react-admin serves as a quick standalone admin interface.


I see, thanks for the response.


Hasura + the React Admin plugin is a godsend, allowed me to focus on the SwiftUI app I was writing and barely have to think about the backend.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: