4 ms·
Elm. If there is a back-end API with a spec (GraphQL or OpenAPIv3) you can generate an Elm client for that which makes API calls type-safe and thus very robust
by cies 4y ago
Elm.
If there is a back-end API with a spec (GraphQL or OpenAPIv3) you can generate an Elm client for that which makes API calls type-safe and thus very robust.
- 1-more 4y agoCosigned. And if the backend is yet to be written then put the whole thing on Lamdera.
- cies 4y agoI'm trying to understand Lamdera, but I dont really get it. How does it persist data? Does it use WebSockets (and thus push from server)?
- 1-more 4y agoI think that's exactly how it works. The whole backend model persists for every user. Your backend model is what would be your DB state in another stack.
- cies 4y agoSo persistence is just text files (that's what I got from scanning through the source). I'm a bit scared for what that does to state that's shared (instead of that's specific to a user). Very cool project non the less..
- m_j_g 4y agosecound, espeicaly together with elm street for generating code from Haskell
- cies 4y agoI like to skip the backend all together and write the Elm app directly to something like Hasura (GraphQL with authorization on top of PG).