laurobmb / jsonapp

Web App for receive json post from clients, this app is using fastapi as core code

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

JsonAPP

Web App for receive json post from clients, this app is using fastapi as core code

Build App

podman build -t jsonapp:v1 .

Run App

Run localy

podman run -it --rm --name jsonapp -p8000:8000 jsonapp:v1

Run from Quay

podman run -it --rm --name jsonapp -p8000:8000 quay.io/lagomes/jsonapp:latest
podman run -d -it --name jsonapp -p8000:8000 quay.io/lagomes/jsonapp:latest

Post json sample

curl -X POST -H "Content-Type: application/json" -d @files/response.example.json 127.0.0.1:8000 | jq

About

Web App for receive json post from clients, this app is using fastapi as core code


Languages

Language:Python 88.0%Language:Dockerfile 10.5%Language:HTML 1.5%