# aimyca/tardigene architecture

> Architecture diagram of the GitHub repository aimyca/tardigene, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-22). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/aimyca/tardigene
- Repository: https://github.com/aimyca/tardigene

## Overview

TardiGene is a Django web app intended to help biologists navigate tardigrade genomic data. The visible request path is currently minimal: a biologist requests the root page, Django routes through the project and app URL configurations, and the view returns a plain-text response. The app defines genome and transcriptome records backed by the configured SQLite database, but the sampled code does not show data browsing or loading. Accordingly, the graph captures the documented purpose without implying those capabilities are implemented; unsampled behavior is not inferred.

Main entry points: [`website/urls.py`](https://github.com/aimyca/tardigene/blob/main/website/urls.py) (Project routes), [`tardigene/urls.py`](https://github.com/aimyca/tardigene/blob/main/tardigene/urls.py) (App routes), [`tardigene/views.py`](https://github.com/aimyca/tardigene/blob/main/tardigene/views.py) (Index view), [`tardigene/models.py`](https://github.com/aimyca/tardigene/blob/main/tardigene/models.py) (Genome and transcriptome records)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_web["Web request handling"]
  node_project_routes["Project routes<br/>[urls.py]"]
  node_app_routes["App routes<br/>[urls.py]"]
  node_index_view["Index view<br/>[views.py]"]
end

subgraph group_data["Genomic data"]
  node_genomic_records["Genome and transcriptome records<br/>[models.py]"]
  node_sqlite[("SQLite database")]
  node_db_config["Database configuration<br/>[settings.py]"]
end

node_biologist(("Biologist"))

node_biologist -->|"requests page"| node_project_routes
node_project_routes -->|"includes routes"| node_app_routes
node_app_routes -->|"routes request"| node_index_view
node_index_view -->|"returns response"| node_biologist
node_db_config -->|"configures"| node_sqlite
node_genomic_records -.->|"defines stored records"| node_sqlite

click node_project_routes "https://github.com/aimyca/tardigene/blob/main/website/urls.py"
click node_app_routes "https://github.com/aimyca/tardigene/blob/main/tardigene/urls.py"
click node_index_view "https://github.com/aimyca/tardigene/blob/main/tardigene/views.py"
click node_genomic_records "https://github.com/aimyca/tardigene/blob/main/tardigene/models.py"
click node_db_config "https://github.com/aimyca/tardigene/blob/main/website/settings.py"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_project_routes,node_app_routes,node_index_view toneBlue
class node_genomic_records,node_sqlite,node_db_config toneAmber
class node_biologist toneIndigo
```

## Components

### Web request handling

- [Project routes](https://github.com/aimyca/tardigene/blob/main/website/urls.py): `website/urls.py`
- [App routes](https://github.com/aimyca/tardigene/blob/main/tardigene/urls.py): `tardigene/urls.py`
- [Index view](https://github.com/aimyca/tardigene/blob/main/tardigene/views.py): `tardigene/views.py`

### Genomic data

- [Genome and transcriptome records](https://github.com/aimyca/tardigene/blob/main/tardigene/models.py): `tardigene/models.py`
- **SQLite database**
- [Database configuration](https://github.com/aimyca/tardigene/blob/main/website/settings.py): `website/settings.py`

### Other components

- **Biologist**

## Connections

- Biologist → Project routes: requests page (evidence: `website/urls.py`)
- Project routes → App routes: includes routes (evidence: `website/urls.py`)
- App routes → Index view: routes request (evidence: `tardigene/urls.py`)
- Index view → Biologist: returns response (evidence: `tardigene/views.py`)
- Database configuration → SQLite database: configures (evidence: `website/settings.py`)
- Genome and transcriptome records → SQLite database: defines stored records
