Our great sponsors
-
For graphql I experimented with Mu Haskell: https://higherkindness.io/mu-haskell/ Morpheus: https://morpheusgraphql.com/about/
-
If you don't feel like you're super comfortable with high-level Haskell concepts and just want a simple no-nonsense webserver library, I'd recommend scotty which is straightforward and easy to use.
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
servant-persistent-template
Simple servant-persistent template with up to date libraries, multipart form data API, basic User management model, property testing, simple JWT authentication, example public/private routes, among other features
I use Servant, I have tried to create a "complete" template that has DB, logging, multipart form data, authentication, etc. Maybe it can be useful as a guide for you.
-
ihp
🔥 The fastest way to build type safe web apps. IHP is a new batteries-included web framework optimized for longterm productivity and programmer happiness
For REST APIs, just use Servant . They have some good tutorials along with their documentation. It might be a bit overwhelming at first but once you get the hang of it, it is simply straightforward. For database access, persistent is good library to connect to a postgres server. If you want something simpler, then there is postgres-simple and mysql-simple. If you want something full-stack and bit easier to manage, then try ihp . It has everything included in it like other MVC frameworks (for example - Laravel, Django etc).
-
E.g. https://github.com/NorfairKing/autodocodec though I havn't used it much. There is also Jordan.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.