Implementing nested comments feature

This page summarizes the projects mentioned and recommended in the original post on /r/elixir

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • arbor

    Ecto elixir adjacency list and tree traversal. Supports Ecto versions 2 and 3. (by coryodaniel)

  • Arbor. I’ve used this package for nested todos, and it should work for you. You’ll need a self-referencing foreign key like parent_id or something. For example, Reply #4 will have the parent_id of Comment #1. The package has helpers to manage the queries, including recursive ones to give you the nesting.

  • ecto_materialized_path

    Tree structure & hierarchy for ecto models (by bonfire-networks)

  • I used materialised paths for this: https://github.com/bonfire-networks/ecto_materialized_path

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts