Skip to content

infra

Infrastructure module. Contains implementations of domain ports and database-related code. This module is responsible for interacting with external systems (e.g., databases) and should not contain any business logic. It serves as the "outer layer" in the hexagonal architecture, allowing the core domain to remain independent of specific technologies or frameworks.

MODULE DESCRIPTION
db

Handles the core database components, including database connection management and ORM model definitions.

exporter_markdown

Handles exporting recipes to Markdown format.

exporter_word

Handles exporting recipes to Word format.

google_auth

Google ID token verification using google-auth library.

image_storage

Handles storing images (local or remote file storage).

importer_instagram

Instagram parser adapter — converts Instagram JSON into RecipeCreate schemas.

jwt_handler

JWT token creation and verification using PyJWT.

repositories

Handles all database-specific logic using SQLAlchemy.