Grokking the System Design Interview, Volume II
0% completed
Step 4: API Design
Seven endpoints cover the features from Step 2. The home feed carries most of the traffic, so it is specified in full below, and the other six are described by what they do. Clients call all of them through the API gateway with a bearer token that identifies the user.
1. Fetch Home Feed (GET /feed)
Description: Returns the user's personalized home feed. The Feed Service gathers posts from the user's subreddits and followed users, plus recommended posts, and sorts them as requested. Clients call it when the user opens the home page and again as the user scrolls.
.....
.....
.....
Like the course? Get enrolled and start learning!
Reading Progress
0%