MongoDB
use MongoDB to store data
Setup
Add to your Fuma Comment config:
import { createMongoDBAdapter } from "@fuma-comment/server/adapters/mongo-db";
import { db } from "@/lib/database";
export const storage = createMongoDBAdapter({
db,
auth: "better-auth" | "next-auth",
});