# Serverless Components **Repository Path**: menggs/Serverless-Components ## Basic Information - **Project Name**: Serverless Components - **Description**: Serverless Components 是 Serverless Framework 重磅推出的基础设施编排能力,支持开发者通过 Serverless Components 构建,组合并部署你的 Serverless 应用 - **Primary Language**: JavaScript - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: https://www.serverless.com/cn/framework/docs/ - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 3 - **Created**: 2021-06-10 - **Last Updated**: 2021-06-10 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README [![Serverless Components](https://s3.amazonaws.com/public.assets.serverless.com/images/readme_serverless_components.gif)](http://serverless.com)

Serverless Components is now Generally Available. Click Here for the old Beta Version


English | 简体中文

Serverless Components are simple abstractions that enable developers to deploy serverless applications and use-cases easily, via the [Serverless Framework](https://github.com/serverless/serverless).
- [x] **Ease** - Deploy entire serverless applications/use-cases via Components, without being a cloud expert. - [x] **Instant Deployments** - Components deploy in 2-4 seconds, making rapid development on the cloud possible. - [x] **Streaming Logs** - Many Components stream logs from your app to your console in real-time, for fast debugging. - [x] **Automatic Metrics** - Many Components auto-set-up metrics upon deployment. - [x] **Build Your Own** - Components are easy to build. - [x] **Registry** - Share your Components with you, your team, and the world, via the Serverless Registry.
Deploy a serverless app rapidly, with any of these commands: ```shell $ npx serverless init fullstack-app $ npx serverless init express-starter $ npx serverless init react-starter $ npx serverless init vue-starter $ npx serverless init graphql-starter ``` # Documentation - [Quick-Start](#quick-start) - [Overview](#overview) - [Using Components](#using-components) - [Serverless Framework](#serverless-framework) - [serverless.yml](#serverlessyml) - [Actions, Inputs & Outputs](#actions-inputs--outputs) - [Deploying](#deploying) - [State](#state) - [Credentials](#credentials) - [AWS Credentials](#aws-credentials) - [Google Credentials](#google-credentials) - [Stages](#stages) - [Variables](#variables) - [Variables: Org](#variables-org) - [Variables: Stage](#variables-stage) - [Variables: App](#variables-app) - [Variables: Name](#variables-name) - [Variables: Environment Variables](#variables-environment-variables) - [Variables: Outputs](#variables-outputs) - [Proxy](#proxy) - [CLI Commands](#cli-commands) - [`serverless registry`](#serverless-registry) - [`serverless publish`](#serverless-publish) - [`serverless deploy`](#serverless-deploy) - [`serverless remove`](#serverless-remove) - [`serverless info`](#serverless-info) - [`serverless dev`](#serverless-dev) - [`serverless param`](#serverless-param) - [Building Components](#building-components) - [serverless.component.yml](#serverlesscomponentyml) - [serverless.js](#serverlessjs) - [Input & Output Types](#input--output-types) - [Working With Source Code](#working-with-source-code) - [Adding The Serverless Agent](#adding-the-serverless-agent) - [Development Workflow](#development-workflow) - [Development Tips](#development-tips) - [Start With The Outcome](#start-with-the-outcome) - [Knowing The Outcome Is An Advantage](#knowing-the-outcome-is-an-advantage) - [Keep Most State On The Cloud Provider](#keep-most-state-on-the-cloud-provider) - [Store State Immediately After A Successful Operation](#store-state-immediately-after-a-successful-operation) - [Optimize For Accessibility](#optimize-for-accessibility) - [No Surprise Removals](#no-surprise-removals) - [Write Integration Tests](#write-integration-tests) - [Components List](https://github.com/serverless-components/) - [F.A.Q.](#faq)
# Quick-Start To get started with Serverless Components, install the latest version of the [Serverless Framework](https://www.github.com/serverless/serverless): ```console $ npm i -g serverless ``` After installation, run `serverless registry` to see many Component-based templates you can deploy, or see more in the [Serverless Framework Dashboard](https://app.serverless.com). These contain Components as well as boilerplate code, to get you started quickly. Install anything from the registry via `$ serverless init