In this upcoming series of posts we're going to go over the end-to-end process on how to build and deploy a web application using Haskell. I use the term "web application" instead of "website" because the implication is that we're building something more than just some static HTML and CSS. The intent is to build an actual application with dynamic front-end behavior that is in direct communication with the back-end code.
In order to learn more about Haskell I decided to try and write a glorified Hello World program in the form of Conway's Game of Life. The original iteration was console based, but I quickly began yearning for something a little more gratifying visually. Hence, the Game of Haskell webapp was born!
It was important early on to make some very opinionated decisions regarding the technology stack. The following framework decisions represent my attempts at learning as many new things as possible with the caveat that these descisions should result in a new, reusable, robust and flexible toolbelt that can be applied toward future Haskell web development.
Here's the hierarchy of how this application was built:
- [React + ES6]
- [Snap Framework + Heist + Websockets]
Source code hosted on Github
Pre-built image available via Docker Hub
docker pull stesta/gameoflife
Live demo deployed to Heroku
Next up: Haskell and our Core Code