https://github.com/eproxus/kraft
A minimalistic Erlang web framework
https://github.com/eproxus/kraft
Last synced: about 1 year ago
JSON representation
A minimalistic Erlang web framework
- Host: GitHub
- URL: https://github.com/eproxus/kraft
- Owner: eproxus
- License: apache-2.0
- Created: 2021-05-06T20:01:51.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2024-05-24T14:10:20.000Z (about 2 years ago)
- Last Synced: 2025-03-18T04:42:46.364Z (about 1 year ago)
- Language: Erlang
- Size: 383 KB
- Stars: 11
- Watchers: 9
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Kraft
An minimalistic Erlang web framework.
## Examples
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.
## Development
### Formatting
Kraft uses [erlfmt][erlfmt] to format its code.
* `rebar3 fmt` to reformat all the code
* `rebar3 fmt path/to/file` to reformat a single file
* `rebar3 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
```
[erlfmt]: https://github.com/WhatsApp/erlfmt