https://github.com/briandenicola/simple-api
Sometimes you just need a very simple API to test connectivity.
https://github.com/briandenicola/simple-api
azure-container-apps devcontainers dotnet
Last synced: 6 months ago
JSON representation
Sometimes you just need a very simple API to test connectivity.
- Host: GitHub
- URL: https://github.com/briandenicola/simple-api
- Owner: briandenicola
- License: mit
- Created: 2022-03-30T21:30:14.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2025-02-14T15:21:49.000Z (10 months ago)
- Last Synced: 2025-03-04T22:36:08.583Z (10 months ago)
- Topics: azure-container-apps, devcontainers, dotnet
- Language: Bicep
- Homepage:
- Size: 1.32 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
- License: LICENSE
Awesome Lists containing this project
README
# Overview
Sometimes you just need a very simple API to test connectivity. This is my super simple dotnet version.
# Windows Build and Run
```bash
scripts/publish.bat
src/publish/windows/api.exe
```
# Docker Build and Run
```bash
cd src
docker build -t todo:1.0 .
docker run -p 5501:5501 todo:1.0
```
# Azure Container Apps via Github Actions
* [Trigger Actions](https://github.com/briandenicola/simple-api/actions/workflows/main.yaml)
* [](https://github.com/briandenicola/simple-api/actions/workflows/main.yaml)
# Test
## Localhost
```bash
cd scripts
./validate.sh
```
## Container Apps
```bash
cd scripts
./validate.sh https://${AZURE_CONTAINER_APP_URI}
```