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: Node.js
A minimal Node.js project with bknd integration.
# userbase starter: Node.js
A minimal Node.js project with userbase integration.
## Project Structure
@@ -11,7 +11,7 @@ Inside of your Node.js project, you'll see the following folders and files:
└── package.json
```
To update `bknd` config, check `index.js`.
To update `userbase` config, check `index.js`.
## 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/node) or jump into our [Discord server](https://discord.gg/952SFk8Tb8).
Feel free to check [our documentation](https://docs.userbase.io/integration/node) or jump into our [Discord server](https://discord.gg/952SFk8Tb8).
+2 -2
View File
@@ -1,10 +1,10 @@
import { serve } from "bknd/adapter/node";
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("bknd/adapter/node").NodeBkndConfig} */
/** @type {import("userbase/adapter/node").NodeUserbaseConfig} */
const config = {
connection: {
url: "data.db",
+1 -1
View File
@@ -8,7 +8,7 @@
"dev": "tsx --watch index.js"
},
"dependencies": {
"bknd": "file:../../app",
"userbase": "file:../../app",
"@hono/node-server": "^1.13.3"
},
"devDependencies": {