」 feat: changed to better-sqlite

This commit is contained in:
2025-07-01 12:14:39 +02:00
parent 3ada54294e
commit 390fffbfee
6 changed files with 208 additions and 5 deletions

View File

@ -1,8 +1,9 @@
import fastifyJWT from '@fastify/jwt';
import fastifyCookie from '@fastify/cookie';
import sqlite from 'node:sqlite';
import Database from 'better-sqlite3';
import bcrypt from 'bcrypt';
const database = new sqlite.DatabaseSync(':memory:');
const database = new Database(":memory:");
const saltRounds = 10;
/**