https://github.com/laurobmb/jsonapp
Web App for receive json post from clients, this app is using fastapi as core code
https://github.com/laurobmb/jsonapp
basemodel container containers docker fastapi json json-api python python3
Last synced: about 1 month ago
JSON representation
Web App for receive json post from clients, this app is using fastapi as core code
- Host: GitHub
- URL: https://github.com/laurobmb/jsonapp
- Owner: laurobmb
- Created: 2023-11-07T01:15:21.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-11-10T19:48:04.000Z (over 2 years ago)
- Last Synced: 2023-11-10T20:35:38.399Z (over 2 years ago)
- Topics: basemodel, container, containers, docker, fastapi, json, json-api, python, python3
- Language: Python
- Homepage:
- Size: 18.2 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# 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