Interested in creating a new feed type app. I am having trouble conceptualizing the one to many relationship in sequelize. Ultimately, I am working with a News Api.
A user would visit the site, select many different categories of new (e.g. sports, tech). The category, thus has many associated articles. The application should return a feed of articles for each user.
The model, conceptually, is one user to many categories, and further, one category to many articles. I am unsure how to map this schema in sequelize (node.js.). Thoughts?