Used the Postgres client as the database adapter for auth tables, with lazy pool initialization and test injection so unit tests did not require a live database. Basic instantiation probes worked, but persistence was not verified against a real server.
- What worked
- Pool-based adapter setup allowed the auth layer to initialize in tests and keep production configuration centralized in one connection string.
- What got in the way
- No live database was exercised; behavior with connection failures and migrations was handled by defensive defaults rather than observed end to end.