Welcome to kakapoopoo.js!
Get started by editing{' '}
pages/index.js
import Head from 'next/head' import Image from 'next/image' import PocketBase from 'pocketbase' import styles from '../styles/Home.module.css' console.log("username:" + process.env.USERNAME); const client = new PocketBase('https://backend.saachen.lu'); const adminAuthData = await client.admins.authViaEmail(process.env.USERNAME, process.env.PASSWORD).catch((error) =>{console.log("It be a feature")}); //console.log(adminAuthData); const resultList = await client.records.getList('forums', 1, 50, { filter: 'created >= "2022-01-01 00:00:00"', }); //console.log(resultList); export default function Home() { return (
Get started by editing{' '}
pages/index.js