Kraft
An minimalistic Erlang web framework.
Examples
Start an example shell:
rebar3 as example shell
- Blog example is located at http://localhost:8091
- Web socket example is located at http://localhost:8092
- Chat example is located at http://localhost:8093
Development
Formatting
Kraft uses erlfmt to format its code.
rebar3 fmtto reformat all the coderebar3 fmt path/to/fileto reformat a single filerebar3 checkto 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:
git config core.hooksPath .githooks