Skip to main content

Using the SDK for Development

CloudBase provides a one-stop Backend as a Service (BaaS), supporting multiple platforms such as mini programs, Web, and mobile applications, helping developers quickly build application backend services.

🌟 Advantages of SDK Development

  • 🚀 Quick Integration: Access cloud development services with just a few lines of code
  • 🔒 Secure and Reliable: Built-in authentication and data security protection
  • 📱 Multi-platform Support: One backend service shared across multiple platforms
  • ⚡ High Performance: Global distributed architecture with millisecond-level response
  • 💰 Cost Optimization: Pay-as-you-go pricing with no server maintenance required

🛠️ Core Features

Authentication

  • Anonymous login, Email login, Phone number login
  • WeChat login, QQ login, and other third-party logins
  • Custom Login and User Management

Cloud Database

  • NoSQL Document Database
  • Real-time data synchronization
  • Complex queries and aggregation operations

Cloud Storage

  • File upload, download, deletion
  • Image processing and CDN acceleration
  • Secure File Access Control

Cloud Function

  • Server-side logic execution
  • Scheduled tasks and triggers
  • Seamless integration with other cloud services

📱 Select Your Platform

Select the corresponding SDK Quick Start Guide based on your development platform:

WeChat Mini Program

The most popular mini program development platform, deeply integrated with the WeChat ecosystem.

Features:

  • Native Cloud Development Support
  • Rich WeChat APIs
  • Comprehensive development toolchain

Start WeChat Mini Program Development →

Web Application

Suitable for website, H5 application, PWA, and other Web application development.

Features:

  • Supports all modern browsers
  • Complete JavaScript SDK
  • Supports TypeScript

Start Web Development →

🚀 More Platforms

Flutter Application

Cross-platform mobile application development framework, enabling multi-platform deployment with a single codebase.

Features:

  • iOS and Android dual-platform support
  • Native performance experience
  • Rich UI Components

View Flutter Development Guide →

Unity Game

Game development engine supporting multi-platform game development.

Features:

  • Cross-platform game support
  • Real-time data synchronization
  • Game Data Analysis

View Unity Development Guide →

🎯 5-Minute Quick Experience

Want to quickly experience the capabilities of the SDK? Select the platform you are familiar with:

Web Quick Experience

<script src="https://static.cloudbase.net/cloudbase-js-sdk/2.0.0/cloudbase.full.js"></script>
<script>
const app = cloudbase.init({ env: 'your-env-id' });
app.auth().anonymousAuthProvider().signIn()
.then(() => console.log('Login successful!'));
</script>

Mini Program Quick Experience

// Initialize in app.js
wx.cloud.init({ env: 'your-env-id' });

// Use in the page
const db = wx.cloud.database();
db.collection('todos').get().then(res => {
console.log('Data retrieval succeeded', res.data);
});

📚 Learning Path

Beginner's Guide

  1. Activate a CloudBase environment
  2. Select a platform to start development (link above)
  3. Learn Authentication
  4. Master Database Operations

Advanced Learning

  1. Cloud Storage File Management
  2. Cloud Function Server-side Development
  3. Real-time Database
  4. Extension Capabilities Integration

Best Practices

  1. Application Architecture Design
  2. Performance Optimization Techniques
  3. Security Best Practices
  4. Multi-Environment Management

Developer Documentation

Community Support


🚀 Are you ready? Choose your development platform and start building powerful cloud applications!