# remyc0des/scholarly architecture

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

- Interactive diagram: https://gitdiagram.com/remyc0des/scholarly
- Repository: https://github.com/remyc0des/scholarly

## Overview

The repository’s first-party product is concentrated in `app.py` and `classes.py`; the bundled virtual environment is dependency code, not the application architecture. The available index indicates that the application uses `classes.py` and references dotenv and PostgreSQL-related libraries, but no application source excerpt or README explains its user workflow or domain stages. The graph therefore shows only those supported relationships; the PostgreSQL connection is unverified.

Main entry points: [`app.py`](https://github.com/remyc0des/scholarly/blob/main/app.py) (Application entry), [`classes.py`](https://github.com/remyc0des/scholarly/blob/main/classes.py) (Domain classes)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_application["Application"]
  node_app["Application entry<br/>[app.py]"]
  node_classes["Domain classes<br/>[classes.py]"]
end

node_user(("User"))
node_dotenv["Environment config"]
node_postgres[("PostgreSQL")]

node_user -.->|"initiates"| node_app
node_app -->|"uses"| node_classes
node_app -->|"imports"| node_dotenv
node_app -.->|"connects"| node_postgres

click node_app "https://github.com/remyc0des/scholarly/blob/main/app.py"
click node_classes "https://github.com/remyc0des/scholarly/blob/main/classes.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_app,node_classes,node_user toneBlue
class node_dotenv toneIndigo
class node_postgres toneAmber
```

## Components

### Application

- [Application entry](https://github.com/remyc0des/scholarly/blob/main/app.py): `app.py`
- [Domain classes](https://github.com/remyc0des/scholarly/blob/main/classes.py): `classes.py`

### Other components

- **User**
- **Environment config**
- **PostgreSQL**

## Connections

- User → Application entry: initiates
- Application entry → Domain classes: uses (evidence: `app.py`)
- Application entry → Environment config: imports (evidence: `app.py`)
- Application entry → PostgreSQL: connects
