Pokédex Manager / One collection per account, isolated in the query and in the index.
Collection
Every query carries the account identifier, and a unique index prevents repeating a species per user. The entry stores quantity, nickname, notes, tags, and favorite alongside a minimal Pokémon snapshot, so a PokéAPI outage does not break what was already recorded. Statistics are derived from the collection and computed on the server.
Every query carries the account identifier.
A unique index prevents repeating a species within the same collection.
The entry stores quantity, nickname, notes, tags, and favorite alongside a Pokémon snapshot.
How I built it
Account isolation is held by the query and by the index, not by a check a use case could forget. The minimal snapshot keeps a PokéAPI outage from making already-recorded entries unreadable, and statistics are derived from the collection on the server instead of stored as a total that can fall out of step.