All Projects → GoogleCloudPlatform → Functions Framework Dart

GoogleCloudPlatform / Functions Framework Dart

Licence: apache-2.0
FaaS (Function as a service) framework for writing portable Dart functions

Programming Languages

dart
5743 projects
dartlang
94 projects

Projects that are alternatives of or similar to Functions Framework Dart

Openwhisk Runtime Nodejs
Apache OpenWhisk Runtime NodeJS supports Apache OpenWhisk functions written in JavaScript for NodeJS
Stars: ✭ 43 (-85.99%)
Mutual labels:  serverless, functions-as-a-service
Serverless Architectures Aws
The code repository for the Serverless Architectures on AWS book
Stars: ✭ 120 (-60.91%)
Mutual labels:  serverless, functions-as-a-service
Karate
Webscraper
Stars: ✭ 45 (-85.34%)
Mutual labels:  serverless, functions-as-a-service
Fission
Fast and Simple Serverless Functions for Kubernetes
Stars: ✭ 6,646 (+2064.82%)
Mutual labels:  serverless, functions-as-a-service
Openwhisk Devtools
Development tools for building and deploying Apache OpenWhisk
Stars: ✭ 141 (-54.07%)
Mutual labels:  serverless, functions-as-a-service
Baristacore
BaristaCore is a framework for providing a serverless platform using ChakraCore and .Net Core
Stars: ✭ 24 (-92.18%)
Mutual labels:  serverless, functions-as-a-service
Openwhisk Cli
Apache OpenWhisk Command Line Interface (CLI)
Stars: ✭ 73 (-76.22%)
Mutual labels:  serverless, functions-as-a-service
Openwhisk Apigateway
Apache OpenWhisk API Gateway service for exposing actions as REST interfaces.
Stars: ✭ 56 (-81.76%)
Mutual labels:  serverless, functions-as-a-service
Flogo
Project Flogo is an open source ecosystem of opinionated event-driven capabilities to simplify building efficient & modern serverless functions, microservices & edge apps.
Stars: ✭ 1,891 (+515.96%)
Mutual labels:  serverless, functions-as-a-service
Gofn
Function process via docker provider (serverless minimalist)
Stars: ✭ 134 (-56.35%)
Mutual labels:  serverless, functions-as-a-service
Openwhisk
Apache OpenWhisk is an open source serverless cloud platform
Stars: ✭ 5,499 (+1691.21%)
Mutual labels:  serverless, functions-as-a-service
Baker
Orchestrate microservice-based process flows
Stars: ✭ 233 (-24.1%)
Mutual labels:  serverless, functions-as-a-service
Faas
OpenFaaS - Serverless Functions Made Simple
Stars: ✭ 20,820 (+6681.76%)
Mutual labels:  serverless, functions-as-a-service
Openwhisk Runtime Php
Apache OpenWhisk Runtime PHP supports Apache OpenWhisk functions written in PHP
Stars: ✭ 26 (-91.53%)
Mutual labels:  serverless, functions-as-a-service
Event Gateway
React to any event with serverless functions across clouds
Stars: ✭ 1,604 (+422.48%)
Mutual labels:  serverless, functions-as-a-service
Openwhisk Deploy Kube
The Apache OpenWhisk Kubernetes Deployment repository supports deploying the Apache OpenWhisk system on Kubernetes and OpenShift clusters.
Stars: ✭ 231 (-24.76%)
Mutual labels:  serverless, functions-as-a-service
Jazz
Platform to develop and manage serverless applications at an enterprise scale!
Stars: ✭ 254 (-17.26%)
Mutual labels:  serverless, functions-as-a-service
Hands On Serverless Guide
A hands-on guide for building Serverless applications
Stars: ✭ 288 (-6.19%)
Mutual labels:  serverless
Serverless Aws Documentation
Serverless 1.0 plugin to add documentation and models to the serverless generated API Gateway
Stars: ✭ 299 (-2.61%)
Mutual labels:  serverless
Syncano Dashboard
The Syncano Dashboard built with React.
Stars: ✭ 287 (-6.51%)
Mutual labels:  serverless

Functions Framework for Dart

DISCLAIMER: This is not ready for production. Expect breaking changes. We're sharing our progress with the developer community and appreciate your feedback. Feel free to start a discussion to share thoughts or open issues for bugs.

Functions Framework Unit Tests Lint Test Conformance Tests
Dart

An open source FaaS (Function as a Service) framework for writing portable Dart functions, brought to you by the Google Dart and Cloud Functions teams.

The Functions Framework lets you write lightweight functions that run in many different environments, including:

Google Cloud Functions does not currently provide an officially supported Dart language runtime, but we're working to make running on Google Cloud Run as seamless and symmetric an experience as possible for your Dart Functions Framework projects.

The framework allows you to go from:

examples/hello/lib/functions.dart

import 'package:functions_framework/functions_framework.dart';
import 'package:shelf/shelf.dart';

@CloudFunction()
Response function(Request request) => Response.ok('Hello, World!');

To:

curl https://<your-app-url>
# Output: Hello, World!

All without needing to worry about writing an HTTP server or request handling logic.

See more demos under the examples directory.

Features

  • Build your Function in the same container environment used by Cloud Functions using buildpacks
  • Invoke a function in response to a request
  • Automatically unmarshal events conforming to the CloudEvents spec
  • Portable between serverless platforms

Quickstart

Dart quickstart on your local machine.

$ cd examples/hello
$ docker build -t app .
...

$ docker run -it -p 8080:8080 --name demo --rm app
Listening on :8080

In another terminal...

$ curl localhost:8080
Hello, World!

See more quickstarts.

Contributing changes

See CONTRIBUTING.md for details on how to contribute to this project, including how to build and test your changes as well as how to properly format your code.

Licensing

Apache 2.0; see LICENSE for details.

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