Skip to content

Sometimes you just need a very simple API to test connectivity.

License

Notifications You must be signed in to change notification settings

briandenicola/simple-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

88 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

Sometimes you just need a very simple API to test connectivity. This is my super simple dotnet version.

Windows Build and Run

scripts/publish.bat
src/publish/windows/api.exe

Docker Build and Run

cd src
docker build -t todo:1.0 .
docker run -p 5501:5501 todo:1.0

Azure Container Apps via Github Actions

Test

Localhost

cd scripts
./validate.sh

Container Apps

cd scripts
./validate.sh https://${AZURE_CONTAINER_APP_URI}