Files
shishantbiswas 0bfcb5ad71
Run Tests / test (pull_request) Successful in 4m57s
bknd is dead long live userbase
2026-09-27 19:34:06 +05:30

26 lines
517 B
JavaScript

import { serve } from "userbase/adapter/node";
// Actually, all it takes is the following line:
// serve();
// this is optional, if omitted, it uses an in-memory database
/** @type {import("userbase/adapter/node").NodeUserbaseConfig} */
const config = {
connection: {
url: "data.db",
},
config: {
media: {
enabled: true,
adapter: {
type: "local",
config: {
path: "./uploads",
},
},
},
},
};
serve(config);