From the example code:
> In this example our users are in this array, but in the real world you likely have them stored in an API service or DB
What is trying to be communicated here is you don't need to connect to a database at all. You can use an API, something in memory, etc. The library doesn't have to connect to a DB.
For example, I use Hasura a lot (a GraphQL wrapper around postgres), and this library works perfect with that, since blueauth can just do API calls.
But yes, even in that scenario it is Hasura that is communicating with a database but not blueauth.
Basically blueauth can interface with anything you can write in javascript (any type of DB, interface, etc)