Create follower role and followers

How could create function follow user (like social network) with ionic?
I’m creating a social network