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
- Host: GitHub
- URL: https://github.com/badgerati/pode-openfaas
- Owner: Badgerati
- Created: 2020-03-09T22:38:24.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-03-09T22:40:30.000Z (over 5 years ago)
- Last Synced: 2025-01-15T23:55:04.527Z (9 months ago)
- Topics: openfaas, openfaas-template, pode, powershell
- Language: Dockerfile
- Size: 1000 Bytes
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.