Instaclone Backend.
- Create Account
- See Profile
- Login
- Edit Profile
- Change Avatar (Image Upload)
- Follow User
- Unfollow User
- See Followers and See Following w/ Pagination
- Computed Fields
- Search Users
- Upload Photo (Parse #)
- See Photo
- See Hashtag
- Search Photos
- Edit Photo
- Like / Unlike Photo
- See Photo Likes
- See Feed
- See Photo Comments
- Delete Photo
- Playground 대신 Altair Tool 사용 https://altair.sirmuel.design/
-
https://www.prisma.io/docs/concepts/components/prisma-client/pagination
-
Offset pagination (seeFollowers)
-
Cursor-based pagination (seeFollowing): 무제한 스크롤 사용 시 유용
- Computed Fields: GraphQL schema에는 있지만 database에는 없음. 매 요청 시마다 계산됨.