Elm-Functions on node for complex domain

The requirements of the backend are very different from the requirements of the frontend.

The main risk is that you will run into the limitations of the language, especially when trying to access functionality with side-effects (databases, files).

Also, as a little bit of context, there was an attempt to create an infrastructure for the backend back in the days of 0.18. The attempt used undocumented Kernel code and put together a series of libraries. The project ended up being abandoned when the team implementing that project failed to negotiate any way forward with the Kernel restrictions that went into effect with 0.19.

It is perfectly fine to explore this domain, play with it BUT, thinking that you will be able to have something like this in production anytime soon is hubris. If you are willing to put in the research effort, you could explore the domain and produce some kind of review of options. This article details what has worked so far in terms of process.