@shamscorner/lucia-pocketbase
v0.0.5
Published
Add a description here...
Downloads
27
Readme
lucia-pocketbase
A simple adapter package to help you connect to Pocketbase from your Lucia project.
How to use
Step 1:
npm i @shamscorner/lucia-pocketbaseStep 2:
Import the adapter in your project.
import { PocketbaseAdapter } from '@shamscorner/lucia-pocketbase';
const client = new PocketBase('http://127.0.0.1:8090');
const adapter = new PocketbaseAdapter(client, {
adminUsername: admin.username, // check pocketbase admin username
adminPassword: admin.password // check pocketbase admin password
});Step 3:
Follow the official guide to setup your Lucia project.
License
MIT
