title | description | tags | ||
---|---|---|---|---|
Dream |
An OCaml Dream app |
|
This is a simple, bare-bones Dream app that serves an HTML page.
Dream is a tidy web framework written in OCaml. It offers a great starting point for anyone interested in writing OCaml for their next web application. With a great type system and feature-full set of APIs, you'll have a great time trying out Dream.
- Create a Railway project
- Connect to your Railway project with
railway link
- Install OCaml
https://ocaml.org/install
- Install project dependencies
opam install . --deps-only
- Run Dream
dune exec bin/main.exe
- A Makefile is provided for common commands, e.g.
make dev
Visit Dream for api docs. This app uses the Dune build system.