This guide walks you through setting up NestedSets in your Elixir application.
- Elixir 1.16 or later
- OTP 25 or later
- An Ecto-based application with PostgreSQL, SQLite, or MySQL
Add nested_sets to your list of dependencies in mix.exs:
def deps do
[
{:nested_sets, "~> 0.1.0"}
]
endRun mix deps.get to fetch the dependency.
Check out the Getting Started guide.