Back to problems

Model entities for feed content and shares

System Design · Meta · Medium

Design the underlying data model for the main feed of a social application. The feed must be able to display heterogeneous content types: plain-text posts, image posts, and short video clips. Users may interact with any feed item in four ways: viewing it, liking it, commenting on it, or sharing it. Your design should cover: A normalized schema for the core feed domain, including user accounts, content items that support text/image/video formats, and events describing how…

Checking your access…