This is just meant for development and testing, not for production.
A fastapi implementation to mock parts of the ARAS REST API to test aras-py and to perform some item queries in context of the webarchive.
$ poetry install
You need to create a directory data
with the following abstract structure:
data:
- repositoryA
- idn1
- fileX.txt
- fileY.gz
- idn2
- …
- repositoryB
You can create it with task testdata
if you have task installed.
Run it with task serve
or poetry run fastapi dev mockils.py
.