Making a unified tagging system with many to many Ecto relations
Here’s a first stab at modeling a content management system for Alchemist Camp!
The basic challenge is to have multiple types of content—articles, episodes and resource pages that can all be tagged and liked by users in a mostly unified way and yet have structural differences enforced by their schemas.
Read next Lightweight dependency injection in Elixir (without the tears)