Monochrome icon indicating copy to clipboard operation
Monochrome copied to clipboard

Full stack - Follow manga

Open D34DPlayer opened this issue 4 years ago • 3 comments

D34DPlayer avatar Dec 02 '21 18:12 D34DPlayer

Schema:

ChapterFollow:
  chapterId: UUID
  userId: UUID
  follows: boolean

  get: (userId, userId) => cls
  fromUser: (userId) => cls[]
  chapterFollows: (userId) => pagination chapters

D34DPlayer avatar Dec 02 '21 18:12 D34DPlayer

Routes:

setFollow(chapter_id: UUID, follow: bool)
getFollows(user_id: UUID)
getFollowsChapters(offset: int, limit: int)

D34DPlayer avatar Dec 02 '21 18:12 D34DPlayer

Frontend:

- add follow/unfollow button in mangaDetail
- My follows page: same as index but only shows chapters and manga from follows

D34DPlayer avatar Dec 02 '21 18:12 D34DPlayer