Skip to content

Docs: Bringing clarity to the introduction docs #343

Merged
dswbx merged 4 commits intobknd-io:mainfrom
cameronapak:doc-touchups
Jan 31, 2026
Merged

Docs: Bringing clarity to the introduction docs #343
dswbx merged 4 commits intobknd-io:mainfrom
cameronapak:doc-touchups

Conversation

@cameronapak
Copy link
Collaborator

This is my attempt at cleaning up the bknd docs one doc at a time, starting with the introduction docs.

I've gained inspiration from https://pocketbase.io/docs/, https://trailbase.io/getting-started/install, and https://www.instantdb.com/docs.

OLD

CleanShot 2026-01-25 at 15 21 12@2x

NEW

CleanShot 2026-01-25 at 15 21 09@2x

To learn more about the CLI, check out the [Using the CLI](/usage/cli) guide.
This will create a local `data.db` SQLite database file in the folder you ran the command and start the bknd web server at http://localhost:1337.

Right now the admin dashboard is not locked down (AKA "guarded"), which means anyone who can access your dashboard will be able to update the configuration and change data in your entities. To prevent unauthorized use, let's put a guard on your bknd instance.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think "right now" is misleading, it's intentionally open, as all APIs are designed to be opt-in. Do you think it to follow a "sane defaults" path instead?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree that prior copy felt misleading. I've updated the copy to reflect the opt-in, open philosophy.

re: "Do you think it to follow a "sane defaults" path instead?"

future idea: I think one thing we can add to the admin dashboard is to prevent enabling the guard if there's no admin-level roles and/or if there's no users with said admin-level role. I know that the guard is prevented when there's no admin-level roles, but not if there's no users with that role

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes agree, this makes sense!

bknd is incredibly lightweight and built upon Web Standards, so that you can bring bknd anywhere JavaScript runs.

## Preview
Bring your [favorite frontend](./#start-with-a-frameworkruntime) and [favorite SQL database](./#use-your-favorite-sql-database), and we'll bring the bknd.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

kinda nice pun, maybe: "... and we'll bring the backend bknd."?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

YES!

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done!

@cameronapak cameronapak requested a review from dswbx January 30, 2026 09:42
@dswbx dswbx merged commit 6806398 into bknd-io:main Jan 31, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants