Typebase
A type-safe backend configured in your app’s TypeScript code, from databases to authentication and file storage
What does it do?
Typebase configures databases, server functions, authentication, and file storage in TypeScript in an existing repository’s typebase/ folder. It uses Drizzle-based tables and typed server functions, which the frontend calls without writing HTTP handling directly. Developers can set up login and sessions with better-auth, and use Vercel Blob or Cloudflare R2 buckets to upload files or issue signed URLs.
Key features
- Postgres tables defined in TypeScript
- Server functions whose types carry through to the frontend
- Email and password or social login, with sessions
- Public and private file buckets with signed URLs
- Backend code in the repository that AI coding agents can read
Why did it stand out?
Its choice to define the backend in the app’s typebase folder instead of a separate service or dashboard stands out. It ties permission checks to code and type checking to help reveal how column changes affect the scope of permissions.
