The backend-as-a-service platform that scales with you. Database, Auth, Storage, and Edge Functions — all in one API.
// Install the SDK
npm install @basestack/sdk
// Initialize your project
import { Basestack } from '@basestack/sdk'
const db = new Basestack({
projectId: 'your-project-id',
apikey: process.env.BASESTACK_API_KEY
})
// Create a user with one line
const user = await db.users.create({
email: 'hello@example.com',
metadata: { plan: 'pro' }
})
// Deploy an edge function
await db.functions.deploy('my-function', {
handler: './handlers/api.ts',
runtime: 'edge'
})
console.log(`🚀 User created: ${user.id}`)
Production-ready backend services that scale automatically. Focus on your product, not infrastructure.
Fully managed PostgreSQL with automatic backups, read replicas, and point-in-time recovery.
Complete auth system with email, social logins, MFA, and role-based access control.
S3-compatible object storage with CDN delivery, image transformations, and signed URLs.
Deploy TypeScript functions to the edge with global low-latency execution.
Start free, scale as you grow. No hidden fees, no surprises.
Perfect for side projects
For growing startups
For large organizations
Join thousands of developers who trust BASESTACK for their backend infrastructure.