Dream: Tidy Web framework for OCaml and ReasonML

Dream is an easy-to-use, boilerplate-free Web framework, whose entire API fits on this page!

It supports TLS, WebSockets, and GraphQL. HTTP/2 support is transparent. It also includes:

You can integrate Dream into a fully self-contained binary, or run it in large deployments behind proxies. Dream assumes no databases, environment variables, or configuration files, and requires no setup beyond installing the one package, dream.

Dream sticks to base OCaml types as much as possible, introducing only a few types of its own. Dream handlers and middlewares are just bare functions. Dream has a flat namespace and aims for maximal clarity.

This page is the API documentation, but Dream also has:

This thread was posted by one of our members via one of our news source trackers.

1 Like