CloudBase Framework is an official front-end and back-end integrated deployment tool produced by cloud development.
No need to change the code, one-click hosting and deployment of front-end and back-end, based on Serverless architecture, accelerated access, flexible operation and maintenance-free.
npm install -g @cloudbase/cli@latest
cloudbase init
cloudbase framework deploy
The following quick start section can help you experience the capabilities of CloudBase Framework faster so that you can start deploying your projects as soon as possible.
Each example provides a deployment button , which can be clicked to deploy in the cloud with one click and install the application in your Tencent Cloud development environment. At the same time, we also provide the corresponding source code. You can view the source code, clone or download the project to modify it locally, and perform one-click deployment locally through CloudBase CLI.
Daruk Application Daruk is a lightweight web framework based on Koa2, developed using Typescript, and uses cloud functions and cloud resources. | ThinkJS application ThinkJS is a Node.js framework that can use ES6/7 features to develop projects and supports TypeScript. , using cloud function cloud resources |
Jenkins Jenkins is an independent open source software project. It is a continuous integration tool developed based on Java. It is used to monitor continuous repetitive work. It aims to provide an open and easy-to-use software platform to make continuous integration of software possible. , using cloud hosting, CFS cloud resources | Go cloud functions Quickly build a simple, reliable and efficient application based on GO language, using cloud functions and cloud resources |
Java Cloud Function Example Quickly build an open and minimalist Java application framework and use cloud functions and cloud resources | PHP Cloud Function Example Quickly build a flexible and efficient PHP application framework using cloud functions and cloud resources |
Omi App Quickly build a cross-framework Omi application, use cloud functions, and statically host cloud resources | Aqueduct (Dart Server) Cloud Hosting Quickly build an Aqueduct cloud hosting instance containing a multi-threaded HTTP server framework, using cloud databases, cloud hosting cloud resources |
Nextcloud Nextcloud is a personal cloud storage solution with built-in rich applications such as photo albums, calendar contacts, file management, and RSS reading. , using cloud hosting, CynosDB, CFS cloud resources | VuePress website application Quickly build website applications based on VuePress and use static hosting cloud resources |
Nest App Quickly build a progressive Node.js framework for building efficient, reliable, and scalable server-side applications using cloud functions and cloud resources | Egg app Quickly build Egg enterprise framework and applications based on Node.js and Koa, using cloud functions and cloud resources |
Next SSR Application Quickly build a simple, smart, hybrid static and server-rendered application framework, using cloud functions and statically hosted cloud resources | Bitwarden Bitwarden is a free and open source password management service that allows users to store sensitive information (such as website login credentials) in an encrypted vault. The Bitwarden platform provides a variety of client applications, including web user interfaces, desktop applications, browser extensions, mobile applications and command line interfaces. , using cloud hosting, CFS cloud resources |
Click to enter the application center to view more applications
The cloud development CloudBase Framework supports a plug-in mechanism and provides plug-ins for a variety of application frameworks and cloud resources. It only requires little or even zero configuration to integrate existing applications with the cloud development CloudBase Framework.
The plug-in configuration is written in the cloudbaserc file. Currently, only JSON files are supported, and YAML will be supported in the future.
Please refer to the complete plugin documentation
The plug-in configuration can be filled in manually or automatically generated. Currently, the front-end framework supports automatic identification and filling in of plug-ins.
You can run the cloudbase
command directly in the project directory to automatically detect, generate and deploy the plug-in configuration file.
cloudbase
✔ 是否使用云开发部署当前项目 <Projects/test/test-vue> ? (Y/n) · true
✔ 选择关联环境 · webpage - [webpage:按量计费]
______ __ __ ____
/ ____// /____ __ __ ____/ // __ ) ____ _ _____ ___
/ / / // __ / / / // __ // __ |/ __ `// ___// _
/ /___ / // /_/ // /_/ // /_/ // /_/ // /_/ /(__ )/ __/
_____________/ __,_/ __,_//_____/ __,_//____/ ___/ __
/ ____/_____ ____ _ ____ ___ ___ _ __ ____ _____ / /__
/ /_ / ___// __ `// __ `__ / _ | | /| / // __ / ___// //_/
/ __/ / / / /_/ // / / / / // __/| |/ |/ // /_/ // / / ,<
/_/ /_/ __,_//_/ /_/ /_/ ___/ |__/|__/ ____//_/ /_/|_|
CloudBase Framework info Version v1.2.10
CloudBase Framework info Github: https://github.com/Tencent/cloudbase-framework
CloudBase Framework info EnvId webpage
? 检测到当前项目包含 Vue.js 项目
? 构建脚本 `npm run build`
? 本地静态文件目录 `dist`
是否需要修改默认配置 No
? 请输入应用唯一标识(支持大小写字母数字及连字符, 同一账号下不能相同) test-vue
? 是否需要保存当前项目配置,保存配置之后下次不会再次询问 Yes
CloudBase Framework info ? install plugins
Plugin link | plug-in | latest version | Plug-in introduction |
---|---|---|---|
@cloudbase/framework-plugin-website | One-click deployment of website applications | ||
@cloudbase/framework-plugin-node | One-click deployment of Node applications (supports underlying deployment as function or cloud hosting) | ||
@cloudbase/framework-plugin-nuxt | One-click deployment of Nuxt SSR applications | ||
@cloudbase/framework-plugin-function | One-click deployment of function resources | ||
@cloudbase/framework-plugin-container | One-click deployment of cloud-hosted container services | ||
@cloudbase/framework-plugin-dart | Deploy Dart applications with one click | ||
@cloudbase/framework-plugin-database | One-click declarative deployment of cloud development NoSQL cloud database | ||
@cloudbase/framework-plugin-deno | Deploy Deno applications with one click | ||
@cloudbase/framework-plugin-next | Deploy Next SSR application with one click | ||
@cloudbase/framework-plugin-mp | One-click deployment of WeChat mini program applications | ||
@cloudbase/framework-plugin-auth | Set login configuration with one click |
For example, a Vue full-stack project includes website front-end and cloud functions
You can manually create a cloudbaserc.json
under the project, fill in the following configuration file, and call cloudbase framework deploy
for deployment.
Or run cloudbase
directly to automatically detect and deploy
{
"envId" : " {{env}} " ,
"framework" : {
"plugins" : {
"client" : {
"use" : " @cloudbase/framework-plugin-website " ,
"inputs" : {
"buildCommand" : " npm run build " ,
"outputPath" : " dist "
}
},
"server" : {
"use" : " @cloudbase/framework-plugin-function " ,
"inputs" : {
"functionRootPath" : " cloudfunctions " ,
"functions" : [
{
"name" : " helloworld " ,
"config" : {
"timeout" : 5 ,
"envVariables" : {},
"runtime" : " Nodejs10.15 " ,
"memorySize" : 128
}
}
]
}
}
}
}
}
For more configuration detailed parameter descriptions, you can view the configuration documentation. Click to view the configuration documentation.
For the version change log of CloudBase Framework, please refer to the changelog file.
For open source protocol documentation, please refer to Apache License 2.0
Enterprise WeChat | Tencent live broadcast | Tencent Cloud WeChat low-code platform | Tencent Cloud Open Source Application Center | Xinyue Club | health code | CloudBase CMS |
Hi avatar | CloudBase TodoList | ShowMess real-time barrage | School photo shoot | Pagic | Yiike official website | Twikoo Reviews |
real time earthquake | Kedao cloud disk | NiceUp | moral articles | OneDrive picture bed | Waline comment system | Programming Home Page |
Global air quality monitoring visualization | cloudbase-access | Tencent Education official website | juying wallpaper | Halo | blue sky bed |
Continuously collect outstanding application cases
If you have any questions or suggestions during use or installation, you are welcome to join the group for discussion and feedback.
✍️ Welcome to submit technical articles
Thanks goes to these wonderful people (emoji key):
Booker Zhao ? | Weijia Wang | hengechang ? | Zijie Zhou ? ? | erikqin ? | Hanqin ? | Zem | magenta |
TIANXIANGLAN ? | liyuanfeng | Bai Huancheng | Yi Liang | Sherry Zhang | Really Big | Saiya ? ? | mirageql |
Tab Liang | juukee ? | Albert Liu | SearchFan ? | Zira | Code Scribe Lion ? | lichaochao | MrZhaoCn |
xcatliu | Tang Xi ? | Life ? | Austin Lee | iMaeGoo | Doggy | nasa.wang | pandagis |
beet | Programmer fish skin | LanHao | fw | H | two birds | Ryan Wang | UCToo |
Heartfelt | LRCong | Rin Hoshizora | justyouhappy | yuwuwu |
This project follows the all-contributors specification. Contributions of any kind welcome!
Everyone is welcome to participate in the development of CloudBase Framework and contribute.
You can choose the following ways to contribute:
We'll add you to our list of contributors
Please refer to the contribution guide document for how to contribute.