mig-server
With library mig we can build lightweight and composable servers. There are only couple of combinators to assemble servers from parts. It supports generic handler functions as servant does. But strives to use more simple model for API. It does not go to describing Server API at type level which leads to simpler error messages. The main features are: lightweight library expressive DSL to compose servers type-safe handlers handlers are encoded with generic haskell functions built on top of WAI and warp server libraries. Example of hello world server: Please see: quick start guide at https://anton-k.github.io/mig/ examples directory for more fun servers: at https://github.com/anton-k/mig/tree/main/examples/mig-example-apps#readme reference for the main functions: https://anton-k.github.io/mig/09-reference.html
hackage.haskell.org
0.2.2.0
17 days ago
4
204 total
Links
| Registry | hackage.haskell.org |
| Source | Repository |
| Homepage | Homepage |
| JSON API | View JSON |
| CodeMeta | codemeta.json |
Package Details
| PURL |
pkg:hackage/mig-server
spec |
| License | BSD-3-Clause |
| First Release | over 2 years ago |
| Last Synced | 16 days ago |
Repository
| Stars | 67 on GitHub |
| Forks | 4 on GitHub |