feat: init Better Auth and DB

This commit is contained in:
2026-05-21 04:26:28 +07:00
parent 99d1c97706
commit eed376cf5b
10 changed files with 5963 additions and 11 deletions
+6
View File
@@ -0,0 +1,6 @@
import { betterAuth } from "better-auth";
import Database from "better-sqlite3";
export const auth = betterAuth({
database: new Database("./sqlite.db"),
});