An minimalistic Erlang web framework.
Start an example shell:
rebar3 as example shell
Navigate to http://localhost:8090 to see a list of examples. All examples can be
found in the examples/
folder.
Kraft uses erlfmt to format its code.
rebar3 fmt
to reformat all the coderebar3 fmt path/to/file
to reformat a single filerebar3 check
to check if formatting adheres
Kraft includes a Git hook that checks formatting before committing. To start using the included Git hook in this repository, run the following command in the root of the repository:
git config core.hooksPath .githooks