In the following post I describe how a simple Haskell web application built on top of Reflex FRP can be deployed to a remote NixOS server. If a remote NixOS server is available using it for deployment can be cheaper alternative to commercial cloud providers in case the features of those (e.g. scaling, hosted services, availability guarantees, etc.) are not strictly required.
The sample Reflex application can be found on GitHub.
Our setting is as follows:
- The application, consisting of a frontend and a backend, is built with Nix
- The development system is a Mac (i.e., not
x86_64-linux
)