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,5 +1,5 @@
# bknd starter: Bun
A minimal Bun project with bknd integration.
# userbase starter: Bun
A minimal Bun project with userbase integration.
## Project Structure
@@ -12,7 +12,7 @@ Inside of your Bun project, you'll see the following folders and files:
└── package.json
```
To update `bknd` config, check `index.ts`.
To update `userbase` config, check `index.ts`.
## Commands
@@ -25,4 +25,4 @@ All commands are run from the root of the project, from a terminal:
## Want to learn more?
Feel free to check [our documentation](https://docs.bknd.io/integration/bun) or jump into our [Discord server](https://discord.gg/952SFk8Tb8).
Feel free to check [our documentation](https://docs.userbase.io/integration/bun) or jump into our [Discord server](https://discord.gg/952SFk8Tb8).
+2 -2
View File
@@ -1,10 +1,10 @@
import { type BunBkndConfig, serve } from "bknd/adapter/bun";
import { type BunUserbaseConfig, serve } from "userbase/adapter/bun";
// Actually, all it takes is the following line:
// serve();
// this is optional, if omitted, it uses an in-memory database
const config: BunBkndConfig = {
const config: BunUserbaseConfig = {
connection: {
url: "data.db",
},
+1 -1
View File
@@ -8,7 +8,7 @@
"start": "bun run index.ts"
},
"dependencies": {
"bknd": "file:../../app"
"userbase": "file:../../app"
},
"devDependencies": {
"@types/bun": "latest"