The backend library between Auth0 and the AAI portal front end. Technical design document for this project lives in this Google doc.
Ensure you have the following installed:
- python 3.13+
- uv (installation instructions)
Follow these steps to set up the project:
-
Clone the Repository:
git clone https://github.com/AustralianBioCommons/aai-backend.git cd aai-backend
-
Set Up a Virtual Environment: Create and activate a virtual environment:
uv venv source .venv/bin/activate
-
Install Dependencies: (aai-backend) uv sync
uv sync
Use uv
to run the FastAPI application:
uv run fastapi dev main.py
Execute the test suite using pytest
:
uv run pytest