Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,015 changes: 100 additions & 915 deletions README.md

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/backend-overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ Thin HTTP layer. Routes, Pydantic validation, dependency injection. Delegates to

### `app/models/`

SQLAlchemy ORM definitions. All primary keys are UUIDs. Timestamps are timezone-aware. See [database/models.md](../database/models.md) for full details.
SQLAlchemy ORM definitions. All primary keys are UUIDs. Timestamps are timezone-aware. See [database/models.md](database/models.md) for full details.

### `app/schemas/`

Expand All @@ -151,15 +151,15 @@ The heaviest module. Contains all AI/LLM coordination, citation logic, document

### `app/utils/exceptions.py`

All domain exceptions inherit from `StudymationError(detail, code)`. The `code` string drives HTTP status mapping in `main.py`. Front-end uses `code` programmatically. See [troubleshooting/guide.md](../troubleshooting/guide.md) for the full error code table.
All domain exceptions inherit from `StudymationError(detail, code)`. The `code` string drives HTTP status mapping in `main.py`. Front-end uses `code` programmatically. See [troubleshooting/guide.md](troubleshooting/guide.md) for the full error code table.

### `app/utils/logger.py`

structlog configuration. JSON in production, human-readable in development. Always log with keyword args: `logger.info("event_name", key=value)`. Never log secrets or full document content.

### `alembic/`

Alembic async configuration. 15 migrations covering the full schema evolution. `env.py` imports `Base.metadata` for autogenerate support. See [database/migrations.md](../database/migrations.md).
Alembic async configuration. 15 migrations covering the full schema evolution. `env.py` imports `Base.metadata` for autogenerate support. See [database/migrations.md](database/migrations.md).

### `schools/`

Expand Down
Binary file added docs/media/brief.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/media/documento.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/media/generacion.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
63 changes: 63 additions & 0 deletions docs/media/pipeline.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading