# rafap-science/biohub architecture

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

- Interactive diagram: https://gitdiagram.com/rafap-science/biohub
- Repository: https://github.com/rafap-science/biohub

## Overview

BioHub is a nascent web project with a frontend and a backend described as intended for server/data work. The tree shows a homepage and separate pages for league information, articles, meetings, and news, plus shared CSS and JavaScript. The excerpts for the JavaScript and backend files are empty, and no page contents or wiring are shown, so the user-to-content flow and any backend interactions cannot be verified. The graph preserves the visible product areas without inventing connections.

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_web["Web frontend"]
  node_home["Home page<br/>[index.html]"]
  node_league["League area<br/>[area-da-liga.html]"]
  node_articles["Articles<br/>[artigos.html]"]
  node_meetings["Meetings<br/>[encontros.html]"]
  node_news["News<br/>[noticias.html]"]
  node_styles["Site styles<br/>[style.css]"]
  node_frontend_js["Frontend script<br/>[main.js]"]
end

subgraph group_server["Backend"]
  node_backend_app["Backend app<br/>[app.py]"]
end

node_visitor(("Visitor"))

click node_home "https://github.com/rafap-science/biohub/blob/main/frontend/index.html"
click node_league "https://github.com/rafap-science/biohub/blob/main/frontend/area-da-liga.html"
click node_articles "https://github.com/rafap-science/biohub/blob/main/frontend/artigos.html"
click node_meetings "https://github.com/rafap-science/biohub/blob/main/frontend/encontros.html"
click node_news "https://github.com/rafap-science/biohub/blob/main/frontend/noticias.html"
click node_styles "https://github.com/rafap-science/biohub/blob/main/frontend/css/style.css"
click node_frontend_js "https://github.com/rafap-science/biohub/blob/main/frontend/js/main.js"
click node_backend_app "https://github.com/rafap-science/biohub/blob/main/backend/app.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_home,node_league,node_articles,node_meetings,node_news,node_styles,node_frontend_js toneBlue
class node_backend_app toneAmber
class node_visitor toneIndigo
```

## Components

### Web frontend

- [Home page](https://github.com/rafap-science/biohub/blob/main/frontend/index.html): `frontend/index.html`
- [League area](https://github.com/rafap-science/biohub/blob/main/frontend/area-da-liga.html): `frontend/area-da-liga.html`
- [Articles](https://github.com/rafap-science/biohub/blob/main/frontend/artigos.html): `frontend/artigos.html`
- [Meetings](https://github.com/rafap-science/biohub/blob/main/frontend/encontros.html): `frontend/encontros.html`
- [News](https://github.com/rafap-science/biohub/blob/main/frontend/noticias.html): `frontend/noticias.html`
- [Site styles](https://github.com/rafap-science/biohub/blob/main/frontend/css/style.css): `frontend/css/style.css`
- [Frontend script](https://github.com/rafap-science/biohub/blob/main/frontend/js/main.js): `frontend/js/main.js`

### Backend

- [Backend app](https://github.com/rafap-science/biohub/blob/main/backend/app.py): `backend/app.py`

### Other components

- **Visitor**
