Personal code to showcase my abilities, such as:
-
Software Engineering in Python:
-
Code (e.g. design patterns)
-
Tests (unit and integration)
-
Project tooling (pre-commit, Ruff)
-
-
Docker
-
Terraform
-
Cloud Engineering
-
DevOps
- Python 3.12 and Pip/Poetry
- Docker
- Terraform
- Azure subscription
- Pre-commit
- Hadolint binary (when using pre-commit)
To run the project locally using Python, run:
poetry run fastapi run app/main.py --host 0.0.0.0 --port 8080
TODO: try uv instead of Poetry.
Go to e.g.: http://0.0.0.0:81/docs
poetry run pytest tests/
First navigate to the function_app folder and then build the container:
docker build -t functionapp:latest .
Then run the container:
docker run -p 80:80 -it functionapp:latest
docker-compose up
Use the function app to Go to e.g.: http://*.azurewebsites.com.
- exception handling
- logging
- devops pipeline
- integration test
- create package from model and handler so that I can use it in Docker image
- caching requests for FastAPI using external database