An open API service indexing awesome lists of open source software.

https://github.com/badgerati/pode-openfaas

OpenFAAS template for Pode
https://github.com/badgerati/pode-openfaas

openfaas openfaas-template pode powershell

Last synced: 7 months ago
JSON representation

OpenFAAS template for Pode

Awesome Lists containing this project

README

          

# Pode OpenFAAS

```powershell
faas-cli template pull https://github.com/badgerati/pode-openfaas
faas-cli new --lang powershell-pode

# build
faas-cli build -f .yml
docker run -p 8080:8080 :latest

# up
faas-cli up -f .yml
```

Request:

```powershell
Invoke-RestMethod -Method GET -Uri http://localhost:8080/function/
```

The function created by the template has the server set up for you. The `handler.ps1` created is where you can place your Route/Middleware logic.