← All repos

dream

Tidy, feature-complete Web framework

frameworkgraphqlhttpocamlreasonmlwebwebsockets
Browse cluster: OCaml Systems and Utilities
1,018commits
60contributors
11languages

Tech stack & purpose

Dream is an easy-to-use, feature-complete web framework for OCaml and ReasonML that presents itself as one flat module with minimal boilerplate. Built in OCaml, it supports modern web standards including WebSockets, GraphQL, HTML templates, sessions, HTTPS, and HTTP/2, along with full-stack capabilities through client compilation with Melange, ReScript, or js_of_ocaml. The framework emphasizes simplicity through a functional programming model where web apps are just functions, composable middleware, and a unified API that sticks to base OCaml types, while still remaining highly configurable for advanced use cases and deployments to platforms like Digital Ocean, Heroku, and Fly.io.

Community & reference links

Languages

OCaml
93.6%
CSS
1.6%
Shell
1.4%
Makefile
0.9%
Reason
0.8%
JavaScript
0.6%
HTML
0.5%
Dockerfile
0.4%
Dune
0.2%
ReScript
0.1%
Procfile
0.0%

Contributors (top 30 of 60)