If you want to grab the whole code from this post, it can be found at codetalkio/Haskell-Electron-app.
Not much literature exist on using Electron
as a GUI tool for Haskell development, so I thought I’d explore the space a little. Being initially a bit clueless on how Electron
would launch the Haskell web server, I was watching the Electron meetup talk by Mike Craig from Wagon HG (they use Electron
with Haskell) and noticed they actually mention it on the slides: