Serverless Framework is a popular serverless application framework service well recognized in the industry. It allows you to deploy completely available serverless application architectures without worrying about underlying resources. Its comprehensive capabilities including resource orchestration, auto scaling, and event-driven programming cover the entire application lifecycle from coding, debugging, and testing to deployment, enabling you to quickly build serverless applications by connecting to cloud-based resources.
Serverless Framework is a standardized, component-based serverless application development product as shown below:
Serverless Framework provides various frameworks suitable for different use cases. After selecting a framework as needed, you can focus on developing business logic without consideration of underlying resources.
When you deploy an application, Serverless Framework will automatically deploy and configure SCF, API Gateway, COS, and other basic resources according to the application characteristics, eliminating the need for manual efforts.
Serverless Framework enables you to quickly create, debug, and deploy a serverless application, as well as to monitor its running status after launch and troubleshoot errors with speed.
Serverless Components is a scenario-based solution that supports orchestration and organization of multiple cloud resources for different use cases such as Express framework integration and website deployment. It can greatly simplify the configuration and management of cloud resources while interconnecting Tencent Cloud products such as gateways, COS, and CAM, so that you can focus more on your business development.
For more information, please see Serverless Components on GitHub.
serverless.jssupports extension and reuse with simple syntax.
The following are common use case templates:
Deploying Hexo static blog
This example uses the Serverless Website component to quickly construct a serverless Hexo website:
serverless create --template-url https://github.com/serverless/components/tree/v1/templates/tencent-hexo-blog
Constructing RESTful API quickly
This example uses the Serverless SCF component to quickly construct a RESTful API application and perform
serverless create --template-url https://github.com/serverless/components/tree/v1/templates/tencent-python-rest-api
Deploy serverless full-stack web application (React.js)
This example uses React as the frontend and Express framework as the backend to deploy a serverless full-stack application through multiple Serverless Components.
serverless create --template-url https://github.com/serverless/components/tree/v1/templates/tencent-fullstack-react-application
Deploy serverless full-stack web application (Vue.js)
This example uses Vue as the frontend and Express framework as the backend to deploy a serverless full-stack application through multiple Serverless Components.
serverless create --template-url https://github.com/serverless/components/tree/v1/templates/tencent-fullstack-vue-application
Currently, Serverless Components supports a rich set of development frameworks and applications in various programming languages as detailed below:
In addition, you can view all Serverless Components in the GitHub repository.