Shishant Biswas 6b31d4d992
All checks were successful
Build and Push to Gitea Registry / build-and-push (push) Successful in 6m15s
refactor vite.config, gitea workflow
2026-03-15 21:18:11 +05:30
2026-02-08 20:29:35 +05:30
2026-02-10 01:37:15 +05:30
2026-02-10 02:46:36 +05:30
2026-02-10 02:46:36 +05:30
2026-02-10 02:46:36 +05:30
2026-02-10 01:37:15 +05:30
2026-02-08 20:28:46 +05:30

bknd + Tanstack Start Example

This is a minimal example to shows how to integrate bknd with Tanstack Start.

Setup

bun install
bun run dev

How it works

  1. bknd.config.ts - bknd configuration with database connection, schema, and seed data
  2. src/routes/api.$.ts - Handles /api/* requests for bknd
  3. src/routes/index.tsx - Using getApp() to fetch data in loader
  4. src/routes/ssr.tsx - Server Side example with getApp() to fetch data on server

API Endpoints

  • GET /admin - for Admin Dashboard
  • GET /api/data/entity/todos - List todos (requires auth)
  • POST /api/auth/password/login - Login

Test Credentials

  • Email: test@bknd.io
  • Password: 12345678
Description
No description provided
Readme 572 KiB
Languages
TypeScript 93.9%
CSS 3.1%
Dockerfile 3%