Quick Start
Welcome to Cloud Development! This guide will help you quickly get started in 5 minutes and build your first application.
🚀 Choose Your Development Scenario
Select the corresponding Quick Start path based on the type of application you want to develop:
Development Scenario | Applicable Scenarios | Recommended Tools | Features | Quick Start |
---|---|---|---|---|
📱 WeChat Mini Program Development | Developing WeChat Mini Programs | Cloud Development Capabilities | • Deep integration with the WeChat ecosystem • Out-of-the-box cloud development capabilities • Supports cloud functions, cloud databases, and cloud storage | Start Mini Program Development → |
🌐 Web Application Development | Developing websites, H5 applications, or web applications | CloudBase static hosting and backend services | • Supports static website hosting • Provides complete backend services • Supports mainstream frameworks like React and Vue | Start Web Development → |
🎮 WeChat Mini Game Development | Developing WeChat Mini Games | Cloud Development Capabilities | • Provides game server hosting • Supports real-time battle and leaderboard features • High-performance game data storage | Mini Game Development Guide → |
☁️ Hosted Backend Services | Developing API services, data processing services, and scheduled tasks | Cloud Functions, Cloud Run | • Automatic elastic scaling • Pay-as-you-go billing • Supports multiple programming languages | Backend Service Development → |
🤖 AI Development Tool Development | Integrating AI capabilities into applications | CloudBase AI Toolkit | • AI-Powered Development: Automatically generates code and architectural designs • CloudBase Integration: One-click access to databases, cloud functions, and static hosting • Rapid Deployment: Full-stack application launch within minutes • Full-Stack Support: Integrated support for Web + Mini Programs + Backend • Intelligent Troubleshooting: AI automatically reviews logs and fixes issues | AI Development Guide → |
📋 Pre-development Preparation
No matter which development approach you choose, you need to:
1. Enable the CloudBase Environment
The cloud development environment is the backend infrastructure for your applications, including database, storage, cloud functions, and other services.
2. Install development tools (Optional)
If you need to use the CLI tool for development and deployment:
🎯 5-Minute Quick Experience
Want to quickly experience Cloud Development capabilities? We've prepared the simplest getting-started example for you:
Web Quick Experience
<!DOCTYPE html>
<html>
<head>
<script src="https://static.cloudbase.net/cloudbase-js-sdk/2.17.3/cloudbase.full.js"></script>
</head>
<body>
<h1>Hello CloudBase!</h1>
<script>
// Initialize CloudBase
const app = cloudbase.init({
env: 'your environment ID' // Replace with your environment ID
});
// Anonymous login
const login = async () => {
const auth = app.auth()
await auth.signInAnonymously()
console.log('Login successful!');
const userInfo = await auth.getUserInfo();
alert(`CloudBase connected successfully! ${userInfo.name}`);
}
login()
</script>
</body>
</html>
Mini Program Quick Experience
// app.js
App({
onLaunch() {
// Initialize CloudBase
wx.cloud.init({
env: 'your environment ID' // Replace with your environment ID
});
console.log('CloudBase initialization completed');
}
});
🔗 Related Resources
- Frequently Asked Questions (FAQ) - Answers to common questions during development
� Get Help
Encountered an issue? We provide multiple support options:
- GitHub Issues - Submit Bug or feature request
- Developer Community - Communicate with other developers
Are you ready? Select any path above to start your cloud development journey!