hastl: modern web-application starter kit
Hastl is a modern Haskell web application template using (H)tmx, (A)lpine.js, (S)ervant, (T)ailwind-css and (L)ucid. It is licensed under MIT and is entirely free and open source.
hastl is primarily tested with PostgreSQL but it uses the popular persistent haskell library as an ORM and therefore can be used with most popular databases.
Features
- Type-safe APIs - hastl uses Servant to define APIs that make up the application, providing type safety and consistency across the application, with the haskell type-checker keeping you honest as you develop
- Modern frontend with htmx - the use of htmx in hastl allows you to build modern user interfaces with the simplicity and power of hypertext, with haskell and lucid2 doing the heavy lifting
- Live reloading with GHCID - since we're writing almost all of our code in the backend, hastl uses GHCID to instantly reload your project as you make changes