GoogleCloudPlatform / functions-framework-dart

FaaS (Function as a service) framework for writing portable Dart functions
https://pub.dev/packages/functions_framework
Apache License 2.0
533 stars 54 forks source link

Multiple funcitons in one project #425

Open Defuera opened 11 months ago

Defuera commented 11 months ago

Is it possible to have multiple functions in one project and deploy them together? I just don't want to have a separate Makefile, Dockerfile, pubspec.yaml file for every function if it's possible not to.

bivens-dev commented 10 months ago

One potential solution to this would be to just use a router like you would in any other shelf kind of app if you are just wanting the interface for multiple independent functions but are otherwise ok with a single executable?

tolotrasamuel commented 8 months ago

Can you please provide an example ?

enqvida commented 2 months ago

@tolotrasamuel probably this https://stackoverflow.com/questions/68981552/dart-functions-framework-usage