@backyard/service-gotrue
v0.2.26
Published
Authentication Service for Backyard powered by GoTrue
Downloads
35
Readme
Backyard GoTrue
Authentication Service for Backyard powered by GoTrue
What is Backyard
Backyard is an opinioned microservices platform
What is GoTrue
Install
Usage
import { createWorkspaceConfiguration } from '@backyard/common';
import { usePostgreSqlService } from '@backyard/service-postgresql';
import { useGoTrueService } from '@backyard/service-gotrue';
export default createWorkspaceConfiguration({
services: [
useGoTrueService({
name: 'auth',
settings: {
db: 'auth-database',
operatorToken: 'a',
}
}),
// GoTrue requires a PostgreSQL database.
// The database "name" and "settings.db" must match
usePostgreSqlService({
name: 'auth-database',
}),
],
});