We're making great progress towards v1, but don't recommend production use yet.
Follow along for updates on GitHub Releases and in our Discord community
bknd includes full REST APIs, an admin dashboard, auth, media uploads, a type-safe SDK, React hooks, and plugins to extend it. Host it with your SSR app or as a standalone service. Built on Web Standards, it runs anywhere JavaScript runs.
This demo bknd instance is for playing and learning
Don't worry about messing anything up in this stage since you're learning the ropes of bknd. If you want to start over, please delete the generated data.db database file and follow this tutorial again.
This creates a local data.db SQLite database and starts the bknd web server at http://localhost:1337.
By default, the admin dashboard is open and not guarded. This is intentional — bknd uses an opt-in philosophy to allow quick prototyping. Let's enable authentication and guard the dashboard to secure it.
Visit http://localhost:1337/auth/roles. Create an admin role by selecting "Create new". Name it "Admin" and select "Create". Then, scroll to the bottom of the page and enable "Implicit allow missing permissions?". Select "Update" to save.
It's time to guard your admin dashboard. Visit http://localhost:1337/settings/auth. Select "Edit". Scroll to "Guard" and enable it. Then, select "Save". (This should log you out!)
What you just experienced is UI-only mode — bknd's data and configuration is managed entirely via the admin dashboard. But that's not the only way to use bknd: