bunderstack
v0.1.0
Published
Batteries-included backend framework for Bun: CRUD APIs, auth, file storage, realtime, tRPC, email, and validated env from a single Drizzle schema and config object.
Maintainers
Readme
bunderstack
A batteries-included backend framework for Bun. Point it at a Drizzle schema
and get CRUD APIs, auth, file storage, realtime, typed custom endpoints
(tRPC), email, and validated env — all from a single config object and a
single Request → Response handler.
bun add bunderstackimport { createBunderstack } from 'bunderstack'
import * as schema from './schema'
const app = createBunderstack({
schema,
auth: { emailAndPassword: { enabled: true } },
access: {
posts: { ownerColumn: 'userId', list: 'public', create: 'authenticated' },
},
})
Bun.serve({ fetch: app.handler })Full documentation and examples: github.com/kirill-dev-pro/bunderstack
Shipping TypeScript source
This package publishes raw TypeScript (exports point at .ts files). Bun
consumes it natively. If a Node-based bundler or SSR server processes it,
make sure the package is bundled rather than externalized — e.g. in Vite:
ssr: {
noExternal: [/^bunderstack/]
}License
MIT
