Introduction
Glad you’re here! bknd is a lightweight, infrastructure agnostic and feature-rich backend that runs in any JavaScript environment.
Preview
Here is a preview of bknd in StackBlitz:
What's going on?
What's going on?
The example shown is starting a node server using an in-memory database. To ensure there are a few entities defined, it is using an initial structure using the prototype methods. Furthermore it uses the seed option to seed some data in the structure created.
To ensure there are users defined on first boot, it hooks into the App.Events.AppFirstBoot
event to create them (documentation pending).
Quickstart
Enter the following command to spin up an instance:
To learn more about the CLI, check out the Using the CLI guide.
Start with a Framework/Runtime
Start by using the integration guide for these popular frameworks/runtimes. There will be more in the future, so stay tuned!
Next.js
React Router
Astro
Node
Cloudflare
Bun
AWS Lambda
Vite
Docker
Yours missing?
Create a new issue to request a guide for your runtime or framework.
Use your favorite SQL Database
The following databases are currently supported. Request a new integration if your favorite is missing.