Skip to content

QR Code generator function for the FaaS Platform using .NET Core

License

Notifications You must be signed in to change notification settings

faas-and-furious/qrcode-csharp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FaaS QR Code using C#

Inspired by John McCabe's qrcode function in Go, I made one in C#!

Deploying the function

Be sure to follow the instructions on the FaaS repo to deploy the Faas stack.

Get the CLI

You can install the faas-cli via brew install faas-cli or curl -sSL https://get.openfaas.com | sudo sh.

Build and deploy

Build and deploy your stack using the following commands:

$ faas-cli -action build -f ./stack.yml
$ faas-cli -action deploy -f ./stack.yml

Test

Using curl, you can send a URL (or any data) to the function to generate a QR code:

$ curl localhost:8080/function/qrcode -d 'http://get-faas.com' > qrcode.png

Voila! You have a QR code! You can check it via Android using this app.

About

QR Code generator function for the FaaS Platform using .NET Core

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages