yawaramin / re-web

Experimental web framework for ReasonML & OCaml
https://yawaramin.github.io/re-web/re-web/index.html
MIT License
261 stars 8 forks source link

Basic Hello World example #1

Closed adrianmcli closed 4 years ago

adrianmcli commented 4 years ago

First of (hopefully) many more examples to come.

The goal is to be extremely simple and assume very minimal prior-knowledge from the reader. All while keeping the size of information as small as possible to be digested easily.

@yawaramin Let me know if you prefer any changes to this format, I just went with what felt best to me.

To test, navigate to the branch and simply run the following in your console:

esy run-example examples/1_hello_world/Main.bc
yawaramin commented 4 years ago

Btw! I should mention that I'm writing a manual: https://github.com/yawaramin/re-web/tree/feature/manual/ReWeb/Manual