bknd is dead long live userbase
Run Tests / test (pull_request) Successful in 4m57s

This commit is contained in:
2026-09-27 19:34:06 +05:30
parent 05e0086fcd
commit 0bfcb5ad71
529 changed files with 2385 additions and 2924 deletions
+4 -4
View File
@@ -1,6 +1,6 @@
# bknd + SvelteKit Example
# userbase + SvelteKit Example
This example shows how to integrate bknd with SvelteKit.
This example shows how to integrate userbase with SvelteKit.
## Setup
@@ -11,8 +11,8 @@ bun run dev
## How it works
1. **`bknd.config.ts`** - bknd configuration with database connection, schema, and seed data
2. **`src/hooks.server.ts`** - Routes `/api/*` requests to bknd
1. **`userbase.config.ts`** - userbase configuration with database connection, schema, and seed data
2. **`src/hooks.server.ts`** - Routes `/api/*` requests to userbase
3. **`src/routes/+page.server.ts`** - Uses `getApp()` to fetch data server-side
## API Endpoints