WebApi is a Haskell library that lets you

  • Write web API services
  • Quickly build Haskell client for existing API services
  • Generate API console interface for your web API (coming soon)
  • Generate a mock server that can mock your responses and requests

WebApi is built with WAI. It makes use of the strong type system of haskell which lets to

  • Create a type safe routing system.
  • Enable type safe generation of links.
  • Specify a contract for the APIs.
  • Auto serialization and deserialization of the request and response based on api contract.
  • Write handlers which respect the contract.

WebApi is available on github . Contributions and feedback are most welcome!