All Projects → flatfisher → Cloud Functions Typescript Template

flatfisher / Cloud Functions Typescript Template

Licence: mit
TypeScript template for Google Cloud Functions

Programming Languages

javascript
184084 projects - #8 most used programming language
typescript
32286 projects

Projects that are alternatives of or similar to Cloud Functions Typescript Template

gcf-packs
Library packs for google cloud functions
Stars: ✭ 48 (-36%)
Mutual labels:  functions, gcp
Inspec Gcp Cis Benchmark
GCP CIS 1.1.0 Benchmark InSpec Profile
Stars: ✭ 69 (-8%)
Mutual labels:  gcp
Wp Functions
A compilation of function snippets for WordPress developers who create their own themes.
Stars: ✭ 1,055 (+1306.67%)
Mutual labels:  functions
Gcs Tools
GCS support for avro-tools, parquet-tools and protobuf
Stars: ✭ 57 (-24%)
Mutual labels:  gcp
Kubernetes Guides
Crosswalk Playbooks and Code for Teams to Manage Kubernetes in Production
Stars: ✭ 51 (-32%)
Mutual labels:  gcp
Bash Utils
utils for shell
Stars: ✭ 58 (-22.67%)
Mutual labels:  functions
Mongodb Function
OpenFaaS Function that makes use of a connection pool to access MongoDB
Stars: ✭ 44 (-41.33%)
Mutual labels:  functions
Pulumi Kubernetesx
Kubernetes for Everyone
Stars: ✭ 74 (-1.33%)
Mutual labels:  gcp
Hush
Runtime configuration loader extensible with providers
Stars: ✭ 68 (-9.33%)
Mutual labels:  gcp
Meme Generator
MemeGen is a web application where the user gives an image as input and our tool generates a meme at one click for the user.
Stars: ✭ 57 (-24%)
Mutual labels:  gcp
Essential Vanilla Javascript Functions
Essential Vanilla JavaScript Functions
Stars: ✭ 56 (-25.33%)
Mutual labels:  functions
Airflow Toolkit
Any Airflow project day 1, you can spin up a local desktop Kubernetes Airflow environment AND one in Google Cloud Composer with tested data pipelines(DAGs) 🖥 >> [ 🚀, 🚢 ]
Stars: ✭ 51 (-32%)
Mutual labels:  gcp
Clocal Gcp
🔭 Emulation engine for GCP
Stars: ✭ 63 (-16%)
Mutual labels:  gcp
Pgo
Go library for PHP community with convenient functions
Stars: ✭ 51 (-32%)
Mutual labels:  functions
Proteus
Proteus : A JSON based LayoutInflater for Android
Stars: ✭ 1,179 (+1472%)
Mutual labels:  functions
Docs Examples
Open in Cloud Shell Examples for the Google provider docs
Stars: ✭ 50 (-33.33%)
Mutual labels:  gcp
Examples
Infrastructure, containers, and serverless apps to AWS, Azure, GCP, and Kubernetes... all deployed with Pulumi
Stars: ✭ 1,085 (+1346.67%)
Mutual labels:  gcp
Pulumi
Pulumi - Developer-First Infrastructure as Code. Your Cloud, Your Language, Your Way 🚀
Stars: ✭ 10,887 (+14416%)
Mutual labels:  gcp
Openwhisk Cli
Apache OpenWhisk Command Line Interface (CLI)
Stars: ✭ 73 (-2.67%)
Mutual labels:  functions
Forseti Security
Forseti Security
Stars: ✭ 1,179 (+1472%)
Mutual labels:  gcp

cloud-functions-typescript-template

cloud-functions-typescript-template is a base project of Google Cloud Functions using TypeScript. This project contains tools and configuration files that are likely to be used frequently (eg Test tool and Lint) from the beginning. Please feel free to submit Pull Request or Issue if there are recommended tools and configuration files.

Prerequisites

npm, tsc, gcloud commands installed

(alpha) Installation

$ npm install google-cloud-functions-typescript

$ npx create-project your-directory

Edit config in package.json

"config": {
  "function_name": "Your function name, it must match the name of export function in index.ts.",
  "region": "europe-west1 or us-east1 or us-central1 or asia-northeast1",
  "gcp_project": "Your GCP project name"
  "runtime": "nodejs8"
}

Lint

$ npm run lint

Build

It makes a Node.js project into functions/src/

$ npm run build

Test

$ npm run test

Deploy

$ npm run deploy --prefix functions/src/

Contribution

Feel free to create a pull request:) Recommended settings, bug fixes, descriptions and more!

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].