https://github.com/ojizero/rul_ex
A simple to use, simple to extend rules engine, written in Elixir.
https://github.com/ojizero/rul_ex
elixir hex rules-engine
Last synced: 3 months ago
JSON representation
A simple to use, simple to extend rules engine, written in Elixir.
- Host: GitHub
- URL: https://github.com/ojizero/rul_ex
- Owner: ojizero
- License: mit
- Created: 2021-11-01T18:00:15.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-11-13T15:16:55.000Z (over 3 years ago)
- Last Synced: 2024-04-22T15:26:15.334Z (about 1 year ago)
- Topics: elixir, hex, rules-engine
- Language: Elixir
- Homepage:
- Size: 47.9 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# RulEx
> A simple to use, simple to extend rules engine, written in Elixir.
## Installation
If [available in Hex](https://hex.pm/docs/publish), the package can be installed
by adding `rul_ex` to your list of dependencies in `mix.exs`:```elixir
def deps do
[
{:rul_ex, "~> 1.0.0"},
# In order to use the default encoding, if you don't wish to use Jason
# you can use any module you want that implements the same APIs as
# Jason and configure the application environment [:rul_ex, RulEx.Encoding.Json]
# configuration.
{:jason, "~> 1.2"}
]
end
```Documentation can be generated with [ExDoc](https://github.com/elixir-lang/ex_doc)
and published on [HexDocs](https://hexdocs.pm). Once published, the docs can
be found at [https://hexdocs.pm/rul_ex](https://hexdocs.pm/rul_ex).> Note to anyone wanting to use this:
>
> If I would've needed this in a real life example I would probabl use it, however,
> this is not battle-tested, and was conceived just as means to have a fun side
> thing to do that didn't consume too much time/effort from me.