All Projects → serverless-components → tencent-apigateway

serverless-components / tencent-apigateway

Licence: MIT license
Easily provision Tencent API Gateway using Serverless Components

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to tencent-apigateway

tencent-tensorflow-scf
A template project for serverless functions for Tensorflow inference on Tencent Cloud.
Stars: ✭ 38 (+15.15%)
Mutual labels:  serverless-framework, tencent, tencent-cloud
tencent-cam-policy
Easily create an Tencent CAM Policy with Serverless Components
Stars: ✭ 20 (-39.39%)
Mutual labels:  serverless-framework, tencent, tencent-cloud
serverless-tencent-scf
Add support for Tencent Cloud's serverless infrastructure to the Serverless Framework via this plugin
Stars: ✭ 53 (+60.61%)
Mutual labels:  serverless-framework, tencent, tencent-cloud
tencent-scf
Deploy Tencent Cloud Serverless Cloud Function in seconds with Serverless Components.
Stars: ✭ 86 (+160.61%)
Mutual labels:  serverless-framework, tencent, tencent-cloud
tencent-cam-role
Easily provision Tencent CAM roles using Serverless Components
Stars: ✭ 19 (-42.42%)
Mutual labels:  serverless-framework, tencent, tencent-cloud
Serverless Express
Run Node.js web applications and APIs using existing application frameworks on AWS #serverless technologies such as Lambda, API Gateway, Lambda@Edge, and ALB.
Stars: ✭ 4,265 (+12824.24%)
Mutual labels:  api-gateway, serverless-framework
Serverless Stack Demo Api
Source for the demo app API in Serverless-Stack.com
Stars: ✭ 486 (+1372.73%)
Mutual labels:  api-gateway, serverless-framework
Serverless Es Logs
A Serverless plugin to transport logs to ElasticSearch
Stars: ✭ 51 (+54.55%)
Mutual labels:  api-gateway, serverless-framework
serverless
BlueNimble is a Hybrid Serverless Platform focusing on developer productivity and application portability. Create and run scalable APIs and applications without coding or by coding less. Focus on application business logic without any knowledge of the underlying microservices architecture.
Stars: ✭ 30 (-9.09%)
Mutual labels:  api-gateway, serverless-framework
aws-swaggerui
Serverless Swagger UI for API Gateway
Stars: ✭ 26 (-21.21%)
Mutual labels:  api-gateway, serverless-framework
Serverless Api Gateway Caching
A plugin for the Serverless framework which helps with configuring caching for API Gateway endpoints.
Stars: ✭ 92 (+178.79%)
Mutual labels:  api-gateway, serverless-framework
Serverless Next.js
⚡ Deploy your Next.js apps on AWS Lambda@Edge via Serverless Components
Stars: ✭ 2,977 (+8921.21%)
Mutual labels:  api-gateway, serverless-framework
Zappa
Serverless Python
Stars: ✭ 224 (+578.79%)
Mutual labels:  api-gateway, serverless-framework
hyperform
⚡ Lightweight serverless framework for NodeJS
Stars: ✭ 156 (+372.73%)
Mutual labels:  api-gateway, serverless-framework
nestjs-graphql-serverless
Boilerplate for using NestJS with GraphQL (Code-First) on serverless environment (AWS Lambda)
Stars: ✭ 64 (+93.94%)
Mutual labels:  api-gateway, serverless-framework
Serverless Architectures Aws
The code repository for the Serverless Architectures on AWS book
Stars: ✭ 120 (+263.64%)
Mutual labels:  api-gateway, serverless-framework
CloudFrontier
Monitor the internet attack surface of various public cloud environments. Currently supports AWS, GCP, Azure, DigitalOcean and Oracle Cloud.
Stars: ✭ 102 (+209.09%)
Mutual labels:  api-gateway, serverless-framework
Serverless Aws Alias
Alias support for Serverless 1.x
Stars: ✭ 171 (+418.18%)
Mutual labels:  api-gateway, serverless-framework
sls-photos-upload-service
Example web app and serverless API for uploading photos and saving to S3 and DynamoDB
Stars: ✭ 50 (+51.52%)
Mutual labels:  api-gateway, serverless-framework
noiiice
a serverless blog built on NuxtJS, AWS, serverless framework, and irrational exuberance.
Stars: ✭ 42 (+27.27%)
Mutual labels:  api-gateway, serverless-framework

腾讯云 API 网关组件

简介

通过 API 网关组件,可以快速,方便的创建,配置和管理腾讯云的 API 网关产品。

快速开始:

  1. 安装
  2. 配置
  3. 部署
  4. 查看状态
  5. 移除

1. 安装

通过 npm 安装最新版本的 Serverless Framework

$ npm install -g serverless

2. 配置

本地创建 serverless.yml 文件,在其中进行如下配置

$ touch serverless.yml
# serverless.yml

org: orgDemo
app: appDemo
stage: dev
component: apigateway
name: apigwDemo

inputs:
  region: ap-guangzhou
  protocols:
    - http
    - https
  serviceName: serverless
  environment: release
  endpoints:
    - path: /
      protocol: HTTP
      method: GET
      apiName: index
      function:
        functionName: myFunction

点此查看全量配置及配置说明

3. 部署

如您的账号未登陆注册腾讯云,您可以直接通过微信扫描命令行中的二维码进行授权登陆和注册。

通过sls命令进行部署,并可以添加--debug参数查看部署过程中的信息

$ sls deploy

4. 查看状态

serverless.yml文件所在的目录下,通过如下命令查看部署状态:

$ serverless info

5. 移除

通过以下命令移除部署的 API 网关

$ sls remove

账号配置(可选)

当前默认支持 CLI 扫描二维码登录,如您希望配置持久的环境变量/秘钥信息,也可以本地创建 .env 文件

$ touch .env # 腾讯云的配置信息

.env 文件中配置腾讯云的 SecretId 和 SecretKey 信息并保存

如果没有腾讯云账号,可以在此注册新账号

如果已有腾讯云账号,可以在API 密钥管理中获取 SecretIdSecretKey.

# .env
TENCENT_SECRET_ID=123
TENCENT_SECRET_KEY=123

License

MIT License

Copyright (c) 2020 Tencent Cloud, Inc.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].