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

15 lines
460 B
TypeScript

import { serve } from "userbase/adapter/bun";
import { createCustomPostgresConnection } from "userbase";
import { NeonDialect } from "kysely-neon";
const neon = createCustomPostgresConnection("neon", NeonDialect);
export default serve({
connection: neon({
connectionString: process.env.NEON,
}),
// ignore this, it's only required within this repository
// because userbase is installed via "workspace:*"
distPath: "../../app/dist",
});