Skip to content
Snippets Groups Projects
Commit 5eb7637f authored by Leah Tacke genannt Unterberg's avatar Leah Tacke genannt Unterberg
Browse files

initial

parents
No related branches found
No related tags found
No related merge requests found
services:
mitm-service:
build: .
volumes:
- ./exports:/exports
- ./uploads:/uploads
ports:
- "8180:8180"
env_file: .env
# command: ["fastapi", "run", "app/main.py", "--port", "8180"]
*
\ No newline at end of file
justfile 0 → 100644
set windows-shell := ["pwsh", "-c"]
default:
@just --list
lock:
poetry lock --no-update
update:
poetry update
requirements:
poetry export --without-hashes -f requirements.txt > requirements.txt --without-hashes
preflight: lock requirements
\ No newline at end of file
[tool.poetry]
name = "superset-mitm-service"
version = "0.1.0"
description = ""
authors = ["Leah Tacke genannt Unterberg <leah.tgu@pads.rwth-aachen.de>"]
readme = "README.md"
package-mode = false
[tool.poetry.dependencies]
python = "^3.12,<3.14"
python-dotenv = "^1.0.1"
fastapi = "^0.115.8"
uvicorn = "^0.34.0"
sqlalchemy = "^2.0.38"
sqlmodel = "^0.0.22"
mitm-tooling = "*"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
fastapi run app/main.py --port "${API_PORT:-8180}"
\ No newline at end of file
# Test your FastAPI endpoints
GET http://127.0.0.1:8000/
Accept: application/json
###
GET http://127.0.0.1:8000/hello/User
Accept: application/json
###
*
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment