Dual storage: MongoDB + localStorage
Relying solely on a cloud database means the app breaks when the server is down. Syncing to localStorage as well gives offline resilience — the user can still access their passwords even when the backend isn't reachable.


