T-DEV-811/IOT/lib/pocketbase.js
2023-04-03 15:51:22 +02:00

7 lines
212 B
JavaScript

import PocketBase from 'pocketbase';
const pb = new PocketBase(process.env.PB_URL);
const authData = await pb.collection('users').authWithPassword('michel.deghaud@gmail.com', 'Kimbomaye67');
export default pb;