1. git clone
2. ./gradlew bootRun
handling timeout is located in
DeckService
fetchCardsByDeckId
pageToken is handled by using JWT, which is implemented in
TokenService
to see the difference between optimized deck detail and unoptimized one, use
optimize
param when send request, which is set to 1 as optimized default and 0 denotes unoptimized.
- I assume that all the urls to be requestd are valid. All decks and cards exist. Since it's a prototype, 404 error is not handled.
- I created 100 decks in the in-mem sql, so the estimatedResult will alwasy stay at 100