A simple OCaml HTTP server that calculates the determinants of matrices. Simply make a POST request with some JSON-formatted n by n matrix and the server will tell you its determinant!
This code was written to show off on my YouTube channel.
Just call make, which in turn builds server.exe with dune
To run just call ./run after building or if you can type fast then try ./_build/default/server.exe
They're literally the same thing but the first one's for lazy people.
Once you've got the server running, you can query it with something like:
curl 127.0.0.1:2017 --data "[[1,0],[0,1]]"