This is the backend for the annotator platform. It provides API endpoints for the platform and acts as an authorization provider for the Orthanc DICOM server.
To build and start the backend separately, use the included docker-compose config:
docker-compose up
Access the API via the 8080
port.
Access Orthanc via the 8042
port.
Make sure both ports are available before starting the services!
Dependencies of the project are managed by Poetry. To install it, use
pip install poetry
To create a new virtual environment and install the dependencies from the poetry.lock
, use
poetry install
in the project root folder.
This will install both production and dev dependencies. If, for some reason, you do not require
dev dependencies, use the command above with the --no-dev
flag.