Comprehensive documentation for the BetterBase platform, covering all packages, modules, and development workflows.
The documentation is organized into logical sections for easy navigation:
/docs
├── getting-started/ # Getting started guides
│ ├── installation.md
│ ├── quick-start.md
│ ├── your-first-project.md
│ └── configuration.md
├── features/ # Feature documentation
│ ├── authentication.md
│ ├── database.md
│ ├── storage.md
│ ├── realtime.md
│ ├── graphql.md
│ ├── functions.md
│ ├── webhooks.md
│ └── rls.md
├── guides/ # Development guides
│ ├── deployment.md
│ ├── production-checklist.md
│ ├── monitoring.md
│ ├── scaling.md
│ ├── security-best-practices.md
│ └── provider-capabilities-and-rollout.md
├── api-reference/ # API documentation
│ ├── client-sdk.md
│ ├── cli-commands.md
│ ├── rest-api.md
│ └── graphql-api.md
├── examples/ # Example applications
│ ├── todo-app.md
│ ├── chat-app.md
│ ├── blog.md
│ └── ecommerce.md
├── core/ # Core SDK documentation
│ ├── overview.md
│ ├── auto-rest.md
│ ├── branching.md
│ ├── config.md
│ ├── functions.md
│ ├── graphql.md
│ ├── logger.md
│ ├── middleware.md
│ ├── migration.md
│ ├── providers.md
│ ├── realtime.md
├── client/ # Client SDK documentation
│ ├── overview.md
│ ├── client.md
│ └── realtime.md
├── cli/ # CLI documentation
│ └── overview.md
├── templates/ # Template documentation
│ └── overview.md
└── test-project/ # Test project documentation
└── overview.md
New to BetterBase? Start here:
- Installation - Install Bun and BetterBase CLI
- Quick Start - Get running in 5 minutes
- Your First Project - Build a complete application
- Configuration - Customize your setup
Learn about all BetterBase features:
- Authentication - Email/password, OAuth, MFA
- Database - Multi-provider database support
- Storage - S3-compatible file storage
- Realtime - WebSocket subscriptions
- GraphQL - Auto-generated GraphQL API
- Functions - Serverless functions
- Webhooks - Event-driven webhooks
- RLS - Row Level Security
Development guides for production:
- Deployment - Deploy to various platforms
- Production Checklist - Pre-deployment checklist
- Monitoring - Set up logging and metrics
- Scaling - Scale your application
- Security Best Practices - Security hardening
- Provider Capabilities & Rollout - Provider limitations and implementation plan
Detailed API documentation:
- Client SDK - TypeScript client library
- CLI Commands - Command-line interface
- REST API - REST API endpoints
- GraphQL API - GraphQL reference
Complete example applications:
- Todo App - Simple todo list with real-time sync
- Chat App - Real-time messaging with presence
- Blog - Blog with posts, comments, categories
- E-commerce - Store with cart, orders, payments
- Bun (v1.0+)
- Git
- Node.js (v18+ for some optional tools)
# Clone the repository
git clone https://github.com/betterbase/betterbase.git
cd betterbase
# Install dependencies
bun install- Review the Installation Guide
- Follow the Quick Start
- Build your first project with the Your First Project guide
- Explore Examples for complete applications
We welcome contributions to improve the documentation! To contribute:
- Fork the repository
- Make your changes to the appropriate markdown files in
/docs - Ensure your changes are clear, accurate, and follow the existing style
- Submit a pull request with a clear description of your changes
- Use clear, concise language
- Provide code examples where appropriate
- Include links to related documentation
- Mark deprecated features clearly
- Keep examples up-to-date with current code
- Follow Markdown best practices
If you find errors or omissions in the documentation:
- Check if the issue has already been reported
- Create a new issue with details about the problem
- Include the documentation page and section
- Suggest improvements if possible
This documentation corresponds to the current version of the BetterBase platform. For specific version documentation:
- Check the git tags for released versions
- Refer to the CHANGELOG.md for version-specific changes
- Documentation for older versions is available in the git history
BetterBase can be self-hosted on your own infrastructure. See SELF_HOSTED.md for detailed documentation on:
- Docker-based deployment
- Admin dashboard configuration
- Device authentication for CLI
- Admin API usage
Quick start:
# Clone and start
docker-compose -f docker-compose.self-hosted.yml up -d
# Login to self-hosted instance
bb login --url https://your-instance.comThis documentation is part of the BetterBase platform and is licensed under the MIT License.
© 2026 BetterBase LLC. All rights reserved.