Documentation
Kolaybase is a backend-as-a-service platform. It provides a PostgreSQL database, authentication, file storage, and auto-generated REST API for every project you create.
Quick Start
Create a free account at app.kolaybase.com, create a project, and start building immediately.
npm install kolaybase-jsimport { createClient } from 'kolaybase-js'
const kb = createClient({
apiUrl: 'https://api.kolaybase.com',
projectId: 'your-project-id',
apiKey: 'your-anon-key',
})
// Query data
const { data, error } = await kb.from('posts').select()
// Sign up a user
const { data: user } = await kb.auth.signUp({
email: 'user@example.com',
password: 'securepassword',
})Explore
Core Concepts
Projects
Each project gets its own PostgreSQL database, Keycloak authentication realm, storage buckets, and API keys. Projects belong to teams.
API Keys
Every project has two keys: an anon key (public, limited access) and a service key (private, full access). The anon key is safe to use in client-side code. The service key should only be used server-side.
Authentication
Kolaybase provides email/password sign-up, email verification, magic links, password reset, and OAuth (Google, GitHub). All managed per project.
Storage
S3-compatible file storage powered by MinIO. Create buckets, upload files, generate signed URLs, and set public access per bucket.