DEV Community

Discussion on: Build an Instagram clone with strapi.js and svelte (PART 2)

 
arnu515 profile image
arnu515

No worries! Strapi makes it really easy for you.

You need to create a table called "followers" which will basically act as a link between two users - a user who is following another user. This kind of relationship is called a Many-to-Many relationship, which means that many users can follow many other users. While creating a relationship, you can select the many-to-many option and choose the tables in strapi itself.