zerobase
Version:
Backend as a Service SDK for ZeroBase platform
45 lines (32 loc) • 846 B
Markdown
Official JavaScript/TypeScript SDK for ZeroBase Backend as a Service.
```bash
npm install zerobase
```
```typescript
import { ZeroBaseClient, DatabaseClient, AuthClient } from "zerobase";
const client = new ZeroBaseClient({
projectId: "your-project-id",
url: "zerobase-url"
apiKey: "your-api-key",
});
// Initialize services
const db = new DatabaseClient(client);
const auth = new AuthClient(client);
// Use the SDK
await db.createTable("users");
await auth.createUser({
email: "user@example.com",
password: "password123",
});
```
- Database Management
- Authentication
- File Storage
- User Management
- TypeScript Support
Visit our [documentation](https://docs.zerobase.dev) for complete API reference.