|3 months ago||about 1 month ago|
|BSD 3-clause "New" or "Revised" License||MIT License|
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
HLS issues an error for Setup.hs and Spec.hs (using hspec-discover)
2 projects | reddit.com/r/haskellquestions | 20 Nov 2022
Here's the current commit I'm working with: https://github.com/scotty-web/scotty/commit/3ed8586c046b46dc42740e8ac2e7fe712e84191d
School of Haskell: Basics
12 projects | news.ycombinator.com | 11 Nov 2022
If you're not a fan of the ruby-on-rails / swiss army knife approach that IHP takes, check out Scotty. Add Lucid for Html rendering, and Selda for Postgres. (There are other options for any of these tools if you prefer)
- Scotty (simple web routing) https://hackage.haskell.org/package/scotty
Programming language comparison by reimplementing the same transit data app
6 projects | news.ycombinator.com | 23 Oct 2022
Suggestions for "dashboard" graphics libraries?
4 projects | reddit.com/r/haskell | 13 Aug 2022
I've found htmx and hyperscript talking to scotty to be an easy way to get something like this going while retaining the joys of Haskell on the backend and avoiding the pains of Haskell on the frontend.
Web development in Haskell
7 projects | reddit.com/r/haskell | 9 Aug 2022
Finally, to add my opinion in the context of some other posts: I'd suggest Scotty (and probably other libraries I'm less familiar with) before Servant in particular, as Servant is a lot to absorb if you're also trying to build fluency in Haskell at the same time. Similarly, I'd advocate for Elmish (disclaimer, it's written by (very talented programmers other than myself at) my company) over Halogen, at least based on the last time I tried Halogen--I found it pretty complex as well. Don't get me wrong, I think Servant and Halogen are both great, just...complex.
Building a REST API with Haskell
2 projects | dev.to | 11 Jul 2022
This is an example of REST API built with Scotty a web framework of Haskell and PostgreSQL a relational database. It's a simple API to manage products.
Options for a frontend of demo for a toy app
6 projects | reddit.com/r/haskell | 13 Jun 2022
Not that I'm much of an expert, but if you're talking about a very barebones static single-page-app, then you could very easily get by just using blaze-html to put your elements on the page, and then scotty is a basic web framework you could use to serve up your app.
Minimal web framework (ie. "flask for haskell")
5 projects | reddit.com/r/haskell | 8 Jun 2022
For small web projects I always used scotty in combination with some html library like blaze for example.5 projects | reddit.com/r/haskell | 8 Jun 2022
Snap (http://snapframework.com/) and Scotty (https://hackage.haskell.org/package/scotty) are both projects that can fit this description.
Confused about design of Yesod form API
2 projects | reddit.com/r/haskell | 20 Mar 2022
PS: If you want DIY things like this, Flask-style, you'd better take Spock, scotty or something like that.
Spock web framework routing question
2 projects | reddit.com/r/haskell | 28 Apr 2021
Based on https://github.com/agrafix/Spock/blob/master/reroute/src/Web/Routing/SafeRouting.hs#L134 it seems to use a Hashmap? (from Data.HashMap.Strict)2 projects | reddit.com/r/haskell | 28 Apr 2021
Thanks, you are probably correct. Mistaken with insertion & matching functions working on a 2nd parameter of PathMap which is a plain list. Digged through Spock calls and ended up at hookRoute which builds-up an actual routing data structure, ie. strict HashMap.
What are some alternatives?
lucid - Clear to write, read and edit DSL for writing HTML
json - Haskell JSON library
scotty-tls - Run your Scotty apps over TLS
scotty-session - Adding session functionality to scotty
fluid - 🐙 Code-generated, Auto-versioned, & Smart Web APIs
Spock-worker - Background workers for Spock
haskyapi - Haskell HTTP server.
rails-session - Decrypt Ruby on Rails sessions in Haskell
scotty-blaze - blaze-html integration for scotty
open-browser - Haskell library for opening the web browser.
graphql - Haskell GraphQL implementation
postgres-websockets - PostgreSQL + Websockets