This repository hosts the code to accompany my blog post where I describe a means by which an API can be incrementally and (mostly) transparently be converted to a Haskell
bundler to run the server. Any version should work.
cd rubby bundle install ruby api.rb &
Let that process run, and it'll be serving up on
stack, which will take care of the rest.
stack setup && stack ghci
opens the REPL for use. In the master branch,
startApp will run the application as a straight up reverse proxy, forwarding requests to
In the other branches, more and more functionality is assumed from the Ruby to the Haskell until eventually it's all taken care of.