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.2.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.2-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.2.tar.gz.

File metadata

  • Download URL: this_is_my_test_app-0.0.2.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.2.tar.gz
Algorithm Hash digest
SHA256 13bdc2d0777209884e345029ed3af23984864fb8db1b3e11edcb41e93c1c49cb
MD5 31e872261819a0ac9efc71ea00311849
BLAKE2b-256 91ae4a3e91657150ce2ce8c0bf12a2f63cf8654e8829fade7e1d687144fea126

See more details on using hashes here.

File details

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

File metadata

  • Download URL: this_is_my_test_app-0.0.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 bc0f2d318d7a321b6c892ddac22385cbf051c4efb7bbd4890a51b00a4763db17
MD5 de0dce8ddbe9b874f4a58cebffeaaec7
BLAKE2b-256 9e25141ec95fd389b20dffe81a8f818504b67e4ccab73c60304055486f260f97

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