Loopbackjs: Followers and Followees Model (Twitter-like) – Twitter API
I'd like to create a Twitter-like model but can't manage to make it working: User's model so far: { "name": "NsUser", "base": "User", ... "relations": { "followers": { "type": "hasMany", "model": "User", "through": "Follow", "foreignKey": "followerUserId" }, "followees": { "type":…