Overview
The accounts-js database adapters provide a way to interact with any database by implementing the DatabaseInterface
common interface exported by @accounts/types
. It means that if we don't provide an official adapter for your database, an adapter can be created to make accounts-js work with your database.
The following adapters are officially supported:
- @accounts/mongo - A database adapter for MongoDB
- @accounts/redis - A database adapter for Redis (session only)
- @accounts/typeorm - A database adapter for PostgreSQL using TypeORM