# lorenzolacorte/european-tech-internships-2026 architecture

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

- Interactive diagram: https://gitdiagram.com/lorenzolacorte/european-tech-internships-2026
- Repository: https://github.com/lorenzolacorte/european-tech-internships-2026

## Overview

EarlyCareers is a web platform for finding curated European internships, new-graduate roles, and research opportunities. The visible backend workflow accepts job searches, applies search and pagination in CRUD logic, and reads Job records from a SQLModel-backed database. The frontend tree includes a jobs route, search forms, results table, and generated API client, but the excerpts do not establish their wiring to one another or to the backend. The README also identifies a separate scraper library; its implementation is outside this repository view.

Main entry points: [`backend/earlycareers/api.py`](https://github.com/lorenzolacorte/european-tech-internships-2026/blob/main/backend/earlycareers/api.py) (Jobs API), [`frontend/src/client/client/utils.ts`](https://github.com/lorenzolacorte/european-tech-internships-2026/blob/main/frontend/src/client/client/utils.ts) (Request utilities), [`backend/earlycareers/core/database.py`](https://github.com/lorenzolacorte/european-tech-internships-2026/blob/main/backend/earlycareers/core/database.py) (SQL database), [`backend/earlycareers/models.py`](https://github.com/lorenzolacorte/european-tech-internships-2026/blob/main/backend/earlycareers/models.py) (Job model)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_web["Web experience"]
  node_jobsroute["Jobs route<br/>[jobs.tsx]"]
  node_rootroute["Root route<br/>[__root.tsx]"]
  node_searchforms["Search forms"]
  node_advancedform["Advanced search"]
  node_jobtable["Results table<br/>[job-table.tsx]"]
  node_pagination["Table pagination"]
end

subgraph group_client["API client"]
  node_generatedsdk["Generated SDK<br/>[sdk.gen.ts]"]
  node_generatedclient["Client setup<br/>[client.gen.ts]"]
  node_fetchclient["Fetch client<br/>[client.ts]"]
  node_clientutils["Request utilities<br/>[utils.ts]"]
  node_auth["Auth handling<br/>[auth.ts]"]
  node_pathserializer["Path serialization<br/>[pathSerializer.ts]"]
end

subgraph group_service["Backend service"]
  node_api["Jobs API<br/>[api.py]"]
  node_crud["Job search logic<br/>[crud.py]"]
  node_deps["Session dependency<br/>[deps.py]"]
  node_app["FastAPI app<br/>[main.py]"]
  node_config["Service settings<br/>[config.py]"]
end

subgraph group_data["Job data"]
  node_jobmodel["Job model<br/>[models.py]"]
  node_schema["Job response schema<br/>[schemas.py]"]
  node_database[("SQL database<br/>[database.py]")]
end

node_jobseeker(("Opportunity seeker"))

node_jobseeker -->|"browses roles"| node_jobsroute
node_app -->|"mounts router"| node_api
node_app -->|"reads settings"| node_config
node_api -->|"runs search"| node_crud
node_api -->|"injects session"| node_deps
node_api -->|"returns schema"| node_schema
node_api -->|"types results"| node_jobmodel
node_crud -->|"queries jobs"| node_jobmodel
node_deps -->|"uses engine"| node_database
node_database -->|"configures connection"| node_config
node_database -->|"creates table"| node_jobmodel
node_generatedsdk -->|"uses client"| node_generatedclient
node_generatedclient -->|"creates instance"| node_fetchclient
node_fetchclient -->|"builds requests"| node_clientutils
node_clientutils -->|"gets auth token"| node_auth
node_clientutils -->|"serializes paths"| node_pathserializer

click node_jobsroute "https://github.com/lorenzolacorte/european-tech-internships-2026/blob/main/frontend/src/routes/jobs.tsx"
click node_rootroute "https://github.com/lorenzolacorte/european-tech-internships-2026/blob/main/frontend/src/routes/__root.tsx"
click node_searchforms "https://github.com/lorenzolacorte/european-tech-internships-2026/blob/main/frontend/src/components/job-search-form.tsx"
click node_advancedform "https://github.com/lorenzolacorte/european-tech-internships-2026/blob/main/frontend/src/components/job-advanced-search-form.tsx"
click node_jobtable "https://github.com/lorenzolacorte/european-tech-internships-2026/blob/main/frontend/src/components/job-table.tsx"
click node_pagination "https://github.com/lorenzolacorte/european-tech-internships-2026/blob/main/frontend/src/components/data-table-pagination.tsx"
click node_generatedsdk "https://github.com/lorenzolacorte/european-tech-internships-2026/blob/main/frontend/src/client/sdk.gen.ts"
click node_generatedclient "https://github.com/lorenzolacorte/european-tech-internships-2026/blob/main/frontend/src/client/client.gen.ts"
click node_fetchclient "https://github.com/lorenzolacorte/european-tech-internships-2026/blob/main/frontend/src/client/client/client.ts"
click node_clientutils "https://github.com/lorenzolacorte/european-tech-internships-2026/blob/main/frontend/src/client/client/utils.ts"
click node_auth "https://github.com/lorenzolacorte/european-tech-internships-2026/blob/main/frontend/src/client/core/auth.ts"
click node_pathserializer "https://github.com/lorenzolacorte/european-tech-internships-2026/blob/main/frontend/src/client/core/pathSerializer.ts"
click node_api "https://github.com/lorenzolacorte/european-tech-internships-2026/blob/main/backend/earlycareers/api.py"
click node_crud "https://github.com/lorenzolacorte/european-tech-internships-2026/blob/main/backend/earlycareers/crud.py"
click node_deps "https://github.com/lorenzolacorte/european-tech-internships-2026/blob/main/backend/earlycareers/deps.py"
click node_app "https://github.com/lorenzolacorte/european-tech-internships-2026/blob/main/backend/earlycareers/main.py"
click node_config "https://github.com/lorenzolacorte/european-tech-internships-2026/blob/main/backend/earlycareers/core/config.py"
click node_jobmodel "https://github.com/lorenzolacorte/european-tech-internships-2026/blob/main/backend/earlycareers/models.py"
click node_schema "https://github.com/lorenzolacorte/european-tech-internships-2026/blob/main/backend/earlycareers/schemas.py"
click node_database "https://github.com/lorenzolacorte/european-tech-internships-2026/blob/main/backend/earlycareers/core/database.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_jobsroute,node_rootroute,node_searchforms,node_advancedform,node_jobtable,node_pagination toneBlue
class node_generatedsdk,node_generatedclient,node_fetchclient,node_clientutils,node_auth,node_pathserializer toneAmber
class node_api,node_crud,node_deps,node_app,node_config toneMint
class node_jobmodel,node_schema,node_database toneRose
class node_jobseeker toneIndigo
```

## Components

### Web experience

- [Jobs route](https://github.com/lorenzolacorte/european-tech-internships-2026/blob/main/frontend/src/routes/jobs.tsx): `frontend/src/routes/jobs.tsx`
- [Root route](https://github.com/lorenzolacorte/european-tech-internships-2026/blob/main/frontend/src/routes/__root.tsx): `frontend/src/routes/__root.tsx`
- [Search forms](https://github.com/lorenzolacorte/european-tech-internships-2026/blob/main/frontend/src/components/job-search-form.tsx): `frontend/src/components/job-search-form.tsx`
- [Advanced search](https://github.com/lorenzolacorte/european-tech-internships-2026/blob/main/frontend/src/components/job-advanced-search-form.tsx): `frontend/src/components/job-advanced-search-form.tsx`
- [Results table](https://github.com/lorenzolacorte/european-tech-internships-2026/blob/main/frontend/src/components/job-table.tsx): `frontend/src/components/job-table.tsx`
- [Table pagination](https://github.com/lorenzolacorte/european-tech-internships-2026/blob/main/frontend/src/components/data-table-pagination.tsx): `frontend/src/components/data-table-pagination.tsx`

### API client

- [Generated SDK](https://github.com/lorenzolacorte/european-tech-internships-2026/blob/main/frontend/src/client/sdk.gen.ts): `frontend/src/client/sdk.gen.ts`
- [Client setup](https://github.com/lorenzolacorte/european-tech-internships-2026/blob/main/frontend/src/client/client.gen.ts): `frontend/src/client/client.gen.ts`
- [Fetch client](https://github.com/lorenzolacorte/european-tech-internships-2026/blob/main/frontend/src/client/client/client.ts): `frontend/src/client/client/client.ts`
- [Request utilities](https://github.com/lorenzolacorte/european-tech-internships-2026/blob/main/frontend/src/client/client/utils.ts): `frontend/src/client/client/utils.ts`
- [Auth handling](https://github.com/lorenzolacorte/european-tech-internships-2026/blob/main/frontend/src/client/core/auth.ts): `frontend/src/client/core/auth.ts`
- [Path serialization](https://github.com/lorenzolacorte/european-tech-internships-2026/blob/main/frontend/src/client/core/pathSerializer.ts): `frontend/src/client/core/pathSerializer.ts`

### Backend service

- [Jobs API](https://github.com/lorenzolacorte/european-tech-internships-2026/blob/main/backend/earlycareers/api.py): `backend/earlycareers/api.py`
- [Job search logic](https://github.com/lorenzolacorte/european-tech-internships-2026/blob/main/backend/earlycareers/crud.py): `backend/earlycareers/crud.py`
- [Session dependency](https://github.com/lorenzolacorte/european-tech-internships-2026/blob/main/backend/earlycareers/deps.py): `backend/earlycareers/deps.py`
- [FastAPI app](https://github.com/lorenzolacorte/european-tech-internships-2026/blob/main/backend/earlycareers/main.py): `backend/earlycareers/main.py`
- [Service settings](https://github.com/lorenzolacorte/european-tech-internships-2026/blob/main/backend/earlycareers/core/config.py): `backend/earlycareers/core/config.py`

### Job data

- [Job model](https://github.com/lorenzolacorte/european-tech-internships-2026/blob/main/backend/earlycareers/models.py): `backend/earlycareers/models.py`
- [Job response schema](https://github.com/lorenzolacorte/european-tech-internships-2026/blob/main/backend/earlycareers/schemas.py): `backend/earlycareers/schemas.py`
- [SQL database](https://github.com/lorenzolacorte/european-tech-internships-2026/blob/main/backend/earlycareers/core/database.py): `backend/earlycareers/core/database.py`

### Other components

- **Opportunity seeker**

## Connections

- Opportunity seeker → Jobs route: browses roles
- FastAPI app → Jobs API: mounts router (evidence: `backend/earlycareers/main.py`)
- FastAPI app → Service settings: reads settings (evidence: `backend/earlycareers/main.py`)
- Jobs API → Job search logic: runs search (evidence: `backend/earlycareers/api.py`)
- Jobs API → Session dependency: injects session (evidence: `backend/earlycareers/api.py`)
- Jobs API → Job response schema: returns schema (evidence: `backend/earlycareers/api.py`)
- Jobs API → Job model: types results (evidence: `backend/earlycareers/api.py`)
- Job search logic → Job model: queries jobs (evidence: `backend/earlycareers/crud.py`)
- Session dependency → SQL database: uses engine (evidence: `backend/earlycareers/deps.py`)
- SQL database → Service settings: configures connection (evidence: `backend/earlycareers/core/database.py`)
- SQL database → Job model: creates table (evidence: `backend/earlycareers/core/database.py`)
- Generated SDK → Client setup: uses client (evidence: `frontend/src/client/sdk.gen.ts`)
- Client setup → Fetch client: creates instance (evidence: `frontend/src/client/client.gen.ts`)
- Fetch client → Request utilities: builds requests (evidence: `frontend/src/client/client/client.ts`)
- Request utilities → Auth handling: gets auth token (evidence: `frontend/src/client/client/utils.ts`)
- Request utilities → Path serialization: serializes paths (evidence: `frontend/src/client/client/utils.ts`)
