This is my research into the world of Haskell. Specicificly how to build modern applications (architectures) with Haskell, functional style. Topics will include, but not limited to:
- restful API
- domain driven design
- CQRS / event sourcing
- specification by example
- and so on ...
This repository is (currently) merely a recording of my progress.
- lightweight abstraction on top of WAI, as a micro Restful library
- auto-generate API based op OpenAPI v3 spec
- validate url + query parameters
- validate json body, based on OpenAPI v3 spec
- transform body to transfer objects (for both product and sum types)
- comprehensive validation DSL (json body, url + query parameters)
- strong typed error messages (human + machine interpretable), includes JSON path for Request Body error messages
- JWT authorization / authentication, role based with JWK validation
- "auto wire" transfer objects to commands
- command handlers, sagas, process managers
- aggregates, state, persistence
- event, event handlers
- ... more to come
Sure, just shoot me a message.