# yastellin/plateforme-suivi-projet-partenariat architecture

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

- Interactive diagram: https://gitdiagram.com/yastellin/plateforme-suivi-projet-partenariat
- Repository: https://github.com/yastellin/plateforme-suivi-projet-partenariat

## Overview

This is a React/NestJS platform for the University of Fianarantsoa to manage projects, partnerships and related institutional records. Its principal workflow is users signing in, creating or updating project and partnership records, submitting them for central review, and consulting aggregated information; the README also documents public pages and password recovery. The graph preserves major product capabilities visible in the tree and README. Several backend service links are supported by controller excerpts or SOURCE INDEX references; unsampled integrations are left unconnected rather than inferred.

Main entry points: [`frontend/src/features/auth/pages/LoginPage.tsx`](https://github.com/yastellin/plateforme-suivi-projet-partenariat/blob/develop/frontend/src/features/auth/pages/LoginPage.tsx) (Sign-in and recovery), [`backend/src/projets/projets.controller.ts`](https://github.com/yastellin/plateforme-suivi-projet-partenariat/blob/develop/backend/src/projets/projets.controller.ts) (Projects API), [`backend/src/partenariats/partenariats.controller.ts`](https://github.com/yastellin/plateforme-suivi-projet-partenariat/blob/develop/backend/src/partenariats/partenariats.controller.ts) (Partnerships API), [`frontend/src/App.tsx`](https://github.com/yastellin/plateforme-suivi-projet-partenariat/blob/develop/frontend/src/App.tsx) (React application)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_experience["User experience"]
  node_frontend["React application<br/>[App.tsx]"]
  node_authui["Sign-in and recovery<br/>[LoginPage.tsx]"]
  node_publicui["Public information<br/>[AccueilPage.tsx]"]
  node_projectui["Project workflows"]
  node_partnerui["Partnership workflows"]
end

subgraph group_operations["Operational records"]
  node_projectapi["Projects API"]
  node_projectservice["Project operations<br/>[projets.service.ts]"]
  node_partnershipapi["Partnerships API"]
  node_partnershipservice["Partnership operations"]
  node_conventions["Conventions"]
  node_cotutelles["Thesis co-supervision"]
  node_documents["Document management"]
  node_archives["Archived records"]
end

subgraph group_oversight["Oversight and insight"]
  node_insights["Dashboards and statistics"]
  node_synthesis["Institutional synthesis"]
  node_exports["Exports"]
  node_notifications["Notifications"]
  node_search["Search"]
  node_publicapi["Public API"]
end

subgraph group_platform["Platform services"]
  node_authapi["Authentication API<br/>[auth.controller.ts]"]
  node_database[("PostgreSQL data<br/>[data-source.ts]")]
  node_mail["Mail delivery<br/>[mail.port.ts]"]
end

node_users(("Staff and public"))

node_users -->|"sign in"| node_authui
node_authui -->|"requests recovery"| node_authapi
node_projectapi -->|"delegates"| node_projectservice
node_partnershipapi -->|"delegates"| node_partnershipservice
node_users -.->|"browse"| node_frontend

click node_frontend "https://github.com/yastellin/plateforme-suivi-projet-partenariat/blob/develop/frontend/src/App.tsx"
click node_authui "https://github.com/yastellin/plateforme-suivi-projet-partenariat/blob/develop/frontend/src/features/auth/pages/LoginPage.tsx"
click node_publicui "https://github.com/yastellin/plateforme-suivi-projet-partenariat/blob/develop/frontend/src/features/espace-public/pages/AccueilPage.tsx"
click node_projectui "https://github.com/yastellin/plateforme-suivi-projet-partenariat/blob/develop/frontend/src/features/projets/pages/ProjetCreatePage.tsx"
click node_partnerui "https://github.com/yastellin/plateforme-suivi-projet-partenariat/blob/develop/frontend/src/features/partenariats/pages/PartenariatCreatePage.tsx"
click node_projectapi "https://github.com/yastellin/plateforme-suivi-projet-partenariat/blob/develop/backend/src/projets/projets.controller.ts"
click node_projectservice "https://github.com/yastellin/plateforme-suivi-projet-partenariat/blob/develop/backend/src/projets/projets.service.ts"
click node_partnershipapi "https://github.com/yastellin/plateforme-suivi-projet-partenariat/blob/develop/backend/src/partenariats/partenariats.controller.ts"
click node_partnershipservice "https://github.com/yastellin/plateforme-suivi-projet-partenariat/blob/develop/backend/src/partenariats/partenariats.service.ts"
click node_conventions "https://github.com/yastellin/plateforme-suivi-projet-partenariat/blob/develop/backend/src/conventions/conventions.controller.ts"
click node_cotutelles "https://github.com/yastellin/plateforme-suivi-projet-partenariat/blob/develop/backend/src/cotutelles/cotutelles.controller.ts"
click node_documents "https://github.com/yastellin/plateforme-suivi-projet-partenariat/blob/develop/backend/src/documents/documents.controller.ts"
click node_archives "https://github.com/yastellin/plateforme-suivi-projet-partenariat/blob/develop/backend/src/archives/archives.controller.ts"
click node_authapi "https://github.com/yastellin/plateforme-suivi-projet-partenariat/blob/develop/backend/src/auth/auth.controller.ts"
click node_database "https://github.com/yastellin/plateforme-suivi-projet-partenariat/blob/develop/backend/src/database/data-source.ts"
click node_mail "https://github.com/yastellin/plateforme-suivi-projet-partenariat/blob/develop/backend/src/mail/mail.port.ts"
click node_insights "https://github.com/yastellin/plateforme-suivi-projet-partenariat/blob/develop/backend/src/tableau-de-bord/tableau-de-bord.controller.ts"
click node_synthesis "https://github.com/yastellin/plateforme-suivi-projet-partenariat/blob/develop/backend/src/synthese/synthese.controller.ts"
click node_exports "https://github.com/yastellin/plateforme-suivi-projet-partenariat/blob/develop/backend/src/export/export.controller.ts"
click node_notifications "https://github.com/yastellin/plateforme-suivi-projet-partenariat/blob/develop/backend/src/notifications/notifications.controller.ts"
click node_search "https://github.com/yastellin/plateforme-suivi-projet-partenariat/blob/develop/backend/src/recherche/recherche.controller.ts"
click node_publicapi "https://github.com/yastellin/plateforme-suivi-projet-partenariat/blob/develop/backend/src/espace-public/espace-public.controller.ts"

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_frontend,node_authui,node_publicui,node_projectui,node_partnerui toneBlue
class node_projectapi,node_projectservice,node_partnershipapi,node_partnershipservice,node_conventions,node_cotutelles,node_documents,node_archives toneAmber
class node_insights,node_synthesis,node_exports,node_notifications,node_search,node_publicapi toneMint
class node_authapi,node_database,node_mail toneRose
class node_users toneIndigo
```

## Components

### User experience

- [React application](https://github.com/yastellin/plateforme-suivi-projet-partenariat/blob/develop/frontend/src/App.tsx): `frontend/src/App.tsx`
- [Sign-in and recovery](https://github.com/yastellin/plateforme-suivi-projet-partenariat/blob/develop/frontend/src/features/auth/pages/LoginPage.tsx): `frontend/src/features/auth/pages/LoginPage.tsx`
- [Public information](https://github.com/yastellin/plateforme-suivi-projet-partenariat/blob/develop/frontend/src/features/espace-public/pages/AccueilPage.tsx): `frontend/src/features/espace-public/pages/AccueilPage.tsx`
- [Project workflows](https://github.com/yastellin/plateforme-suivi-projet-partenariat/blob/develop/frontend/src/features/projets/pages/ProjetCreatePage.tsx): `frontend/src/features/projets/pages/ProjetCreatePage.tsx`
- [Partnership workflows](https://github.com/yastellin/plateforme-suivi-projet-partenariat/blob/develop/frontend/src/features/partenariats/pages/PartenariatCreatePage.tsx): `frontend/src/features/partenariats/pages/PartenariatCreatePage.tsx`

### Operational records

- [Projects API](https://github.com/yastellin/plateforme-suivi-projet-partenariat/blob/develop/backend/src/projets/projets.controller.ts): `backend/src/projets/projets.controller.ts`
- [Project operations](https://github.com/yastellin/plateforme-suivi-projet-partenariat/blob/develop/backend/src/projets/projets.service.ts): `backend/src/projets/projets.service.ts`
- [Partnerships API](https://github.com/yastellin/plateforme-suivi-projet-partenariat/blob/develop/backend/src/partenariats/partenariats.controller.ts): `backend/src/partenariats/partenariats.controller.ts`
- [Partnership operations](https://github.com/yastellin/plateforme-suivi-projet-partenariat/blob/develop/backend/src/partenariats/partenariats.service.ts): `backend/src/partenariats/partenariats.service.ts`
- [Conventions](https://github.com/yastellin/plateforme-suivi-projet-partenariat/blob/develop/backend/src/conventions/conventions.controller.ts): `backend/src/conventions/conventions.controller.ts`
- [Thesis co-supervision](https://github.com/yastellin/plateforme-suivi-projet-partenariat/blob/develop/backend/src/cotutelles/cotutelles.controller.ts): `backend/src/cotutelles/cotutelles.controller.ts`
- [Document management](https://github.com/yastellin/plateforme-suivi-projet-partenariat/blob/develop/backend/src/documents/documents.controller.ts): `backend/src/documents/documents.controller.ts`
- [Archived records](https://github.com/yastellin/plateforme-suivi-projet-partenariat/blob/develop/backend/src/archives/archives.controller.ts): `backend/src/archives/archives.controller.ts`

### Oversight and insight

- [Dashboards and statistics](https://github.com/yastellin/plateforme-suivi-projet-partenariat/blob/develop/backend/src/tableau-de-bord/tableau-de-bord.controller.ts): `backend/src/tableau-de-bord/tableau-de-bord.controller.ts`
- [Institutional synthesis](https://github.com/yastellin/plateforme-suivi-projet-partenariat/blob/develop/backend/src/synthese/synthese.controller.ts): `backend/src/synthese/synthese.controller.ts`
- [Exports](https://github.com/yastellin/plateforme-suivi-projet-partenariat/blob/develop/backend/src/export/export.controller.ts): `backend/src/export/export.controller.ts`
- [Notifications](https://github.com/yastellin/plateforme-suivi-projet-partenariat/blob/develop/backend/src/notifications/notifications.controller.ts): `backend/src/notifications/notifications.controller.ts`
- [Search](https://github.com/yastellin/plateforme-suivi-projet-partenariat/blob/develop/backend/src/recherche/recherche.controller.ts): `backend/src/recherche/recherche.controller.ts`
- [Public API](https://github.com/yastellin/plateforme-suivi-projet-partenariat/blob/develop/backend/src/espace-public/espace-public.controller.ts): `backend/src/espace-public/espace-public.controller.ts`

### Platform services

- [Authentication API](https://github.com/yastellin/plateforme-suivi-projet-partenariat/blob/develop/backend/src/auth/auth.controller.ts): `backend/src/auth/auth.controller.ts`
- [PostgreSQL data](https://github.com/yastellin/plateforme-suivi-projet-partenariat/blob/develop/backend/src/database/data-source.ts): `backend/src/database/data-source.ts`
- [Mail delivery](https://github.com/yastellin/plateforme-suivi-projet-partenariat/blob/develop/backend/src/mail/mail.port.ts): `backend/src/mail/mail.port.ts`

### Other components

- **Staff and public**

## Connections

- Staff and public → Sign-in and recovery: sign in (evidence: `README.md`)
- Sign-in and recovery → Authentication API: requests recovery (evidence: `README.md`)
- Projects API → Project operations: delegates (evidence: `backend/src/projets/projets.controller.ts`)
- Partnerships API → Partnership operations: delegates (evidence: `backend/src/partenariats/partenariats.controller.ts`)
- Staff and public → React application: browse
