Skip to main content

Demo FastAPI Standalone Application

Project description

FastAPI Demo Application

Dieses Projekt ist eine Demoanwendung mit FastAPI, die einen GET- und einen POST-Endpunkt bereitstellt. Die API-Dokumentation ist automatisch über SwaggerUI verfügbar.

Endpunkte

  • GET /items/{item_id}: Gibt ein Item mit der angegebenen ID zurück.
  • POST /items/: Erstellt ein neues Item (Name erforderlich).

Entwicklung & Tests

  • Abhängigkeiten werden mit Poetry verwaltet.
  • Starte den Server mit:
    poetry run uvicorn app.main:app --reload
    
  • Tests ausführen mit:
    poetry run pytest
    

API Dokumentation

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

this_is_my_test_app-0.0.0.tar.gz (1.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

this_is_my_test_app-0.0.0-py3-none-any.whl (2.3 kB view details)

Uploaded Python 3

File details

Details for the file this_is_my_test_app-0.0.0.tar.gz.

File metadata

  • Download URL: this_is_my_test_app-0.0.0.tar.gz
  • Upload date:
  • Size: 1.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.12.11 Linux/6.11.0-1018-azure

File hashes

Hashes for this_is_my_test_app-0.0.0.tar.gz
Algorithm Hash digest
SHA256 55d8e09640db4486a5f6c50176bdfc072d9ad3e620255b62b1eba79ef608e5f9
MD5 692a8fbd5e6079f94523acf7fb454f84
BLAKE2b-256 aa51d48f29228f3774820a09b7b6113e82b4289a161a5dca46d6fcd555b88ad5

See more details on using hashes here.

File details

Details for the file this_is_my_test_app-0.0.0-py3-none-any.whl.

File metadata

  • Download URL: this_is_my_test_app-0.0.0-py3-none-any.whl
  • Upload date:
  • Size: 2.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.12.11 Linux/6.11.0-1018-azure

File hashes

Hashes for this_is_my_test_app-0.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3182f0b64961a9b7ae0de156fe5e419705bf0a8d29e9ef370ae46b23059005be
MD5 4a660600ed4ed968ff17a14732e25284
BLAKE2b-256 69c78d8db10c4145eda910c9dd4671e38e9d9a6f591412429048996d3531c0c4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page