# anitche-team/anitche architecture

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

- Interactive diagram: https://gitdiagram.com/anitche-team/anitche
- Repository: https://github.com/anitche-team/anitche

## Overview

ANITCHE appears to be a commerce platform: the Django tree separates catalogue, cart, orders, payments, delivery, returns, loyalty, sellers, users, support, notifications and QR passports. The FastAPI service explicitly registers search, AI advice, QR scanning and real-time delivery tracking routers. The sampled code does not show frontend-to-backend calls or Django URL wiring, so those connections are omitted; Django capability labels are inferred from app names.

Main entry points: [`backend-fastapi/app/main.py`](https://github.com/anitche-team/anitche/blob/main/backend-fastapi/app/main.py) (Rapid services API), [`frontend/src/App.jsx`](https://github.com/anitche-team/anitche/blob/main/frontend/src/App.jsx) (Web application), [`backend-fastapi/app/routeurs/recherche.py`](https://github.com/anitche-team/anitche/blob/main/backend-fastapi/app/routeurs/recherche.py) (Search), [`backend-fastapi/app/routeurs/conseiller_ia.py`](https://github.com/anitche-team/anitche/blob/main/backend-fastapi/app/routeurs/conseiller_ia.py) (AI advice)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_client["Web client"]
  node_frontend["Web application<br/>[App.jsx]"]
end

subgraph group_commerce["Commerce domain"]
  node_django["Commerce API<br/>[urls.py]"]
  node_catalogue["Product catalogue<br/>[views.py]"]
  node_cart["Shopping cart<br/>[views.py]"]
  node_orders["Order management<br/>[views.py]"]
  node_payments["Payments<br/>[views.py]"]
  node_delivery["Delivery<br/>[views.py]"]
  node_returns["Returns<br/>[views.py]"]
  node_sellers["Seller management<br/>[views.py]"]
  node_users["User accounts<br/>[views.py]"]
  node_passport["QR passports<br/>[views.py]"]
end

subgraph group_rapid["FastAPI services"]
  node_fastapi["Rapid services API<br/>[main.py]"]
  node_search["Search<br/>[recherche.py]"]
  node_advice["AI advice<br/>[conseiller_ia.py]"]
  node_qrscan["QR scanning<br/>[scan_qr.py]"]
  node_tracking["Live tracking"]
end

subgraph group_engagement["Customer services"]
  node_loyalty["Loyalty program<br/>[views.py]"]
  node_notifications["Notifications<br/>[views.py]"]
  node_support["Customer support<br/>[views.py]"]
end

node_shopper(("Shopper"))

node_shopper -->|"uses"| node_frontend
node_frontend -->|"renders"| node_shopper
node_fastapi -->|"registers"| node_search
node_fastapi -->|"registers"| node_advice
node_fastapi -->|"registers"| node_qrscan
node_fastapi -->|"registers"| node_tracking

click node_frontend "https://github.com/anitche-team/anitche/blob/main/frontend/src/App.jsx"
click node_django "https://github.com/anitche-team/anitche/blob/main/backend-django/config/urls.py"
click node_catalogue "https://github.com/anitche-team/anitche/blob/main/backend-django/apps/catalogue/views.py"
click node_cart "https://github.com/anitche-team/anitche/blob/main/backend-django/apps/panier/views.py"
click node_orders "https://github.com/anitche-team/anitche/blob/main/backend-django/apps/commandes/views.py"
click node_payments "https://github.com/anitche-team/anitche/blob/main/backend-django/apps/paiements/views.py"
click node_delivery "https://github.com/anitche-team/anitche/blob/main/backend-django/apps/livraison/views.py"
click node_returns "https://github.com/anitche-team/anitche/blob/main/backend-django/apps/retours/views.py"
click node_sellers "https://github.com/anitche-team/anitche/blob/main/backend-django/apps/vendeurs/views.py"
click node_users "https://github.com/anitche-team/anitche/blob/main/backend-django/apps/utilisateurs/views.py"
click node_passport "https://github.com/anitche-team/anitche/blob/main/backend-django/apps/passeport_qr/views.py"
click node_fastapi "https://github.com/anitche-team/anitche/blob/main/backend-fastapi/app/main.py"
click node_search "https://github.com/anitche-team/anitche/blob/main/backend-fastapi/app/routeurs/recherche.py"
click node_advice "https://github.com/anitche-team/anitche/blob/main/backend-fastapi/app/routeurs/conseiller_ia.py"
click node_qrscan "https://github.com/anitche-team/anitche/blob/main/backend-fastapi/app/routeurs/scan_qr.py"
click node_tracking "https://github.com/anitche-team/anitche/blob/main/backend-fastapi/app/routeurs/suivi_temps_reel.py"
click node_loyalty "https://github.com/anitche-team/anitche/blob/main/backend-django/apps/fidelite/views.py"
click node_notifications "https://github.com/anitche-team/anitche/blob/main/backend-django/apps/notifications/views.py"
click node_support "https://github.com/anitche-team/anitche/blob/main/backend-django/apps/support/views.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_frontend toneBlue
class node_django,node_catalogue,node_cart,node_orders,node_payments,node_delivery,node_returns,node_sellers,node_users,node_passport toneAmber
class node_fastapi,node_search,node_advice,node_qrscan,node_tracking toneMint
class node_loyalty,node_notifications,node_support toneRose
class node_shopper toneIndigo
```

## Components

### Web client

- [Web application](https://github.com/anitche-team/anitche/blob/main/frontend/src/App.jsx): `frontend/src/App.jsx`

### Commerce domain

- [Commerce API](https://github.com/anitche-team/anitche/blob/main/backend-django/config/urls.py): `backend-django/config/urls.py`
- [Product catalogue](https://github.com/anitche-team/anitche/blob/main/backend-django/apps/catalogue/views.py): `backend-django/apps/catalogue/views.py`
- [Shopping cart](https://github.com/anitche-team/anitche/blob/main/backend-django/apps/panier/views.py): `backend-django/apps/panier/views.py`
- [Order management](https://github.com/anitche-team/anitche/blob/main/backend-django/apps/commandes/views.py): `backend-django/apps/commandes/views.py`
- [Payments](https://github.com/anitche-team/anitche/blob/main/backend-django/apps/paiements/views.py): `backend-django/apps/paiements/views.py`
- [Delivery](https://github.com/anitche-team/anitche/blob/main/backend-django/apps/livraison/views.py): `backend-django/apps/livraison/views.py`
- [Returns](https://github.com/anitche-team/anitche/blob/main/backend-django/apps/retours/views.py): `backend-django/apps/retours/views.py`
- [Seller management](https://github.com/anitche-team/anitche/blob/main/backend-django/apps/vendeurs/views.py): `backend-django/apps/vendeurs/views.py`
- [User accounts](https://github.com/anitche-team/anitche/blob/main/backend-django/apps/utilisateurs/views.py): `backend-django/apps/utilisateurs/views.py`
- [QR passports](https://github.com/anitche-team/anitche/blob/main/backend-django/apps/passeport_qr/views.py): `backend-django/apps/passeport_qr/views.py`

### FastAPI services

- [Rapid services API](https://github.com/anitche-team/anitche/blob/main/backend-fastapi/app/main.py): `backend-fastapi/app/main.py`
- [Search](https://github.com/anitche-team/anitche/blob/main/backend-fastapi/app/routeurs/recherche.py): `backend-fastapi/app/routeurs/recherche.py`
- [AI advice](https://github.com/anitche-team/anitche/blob/main/backend-fastapi/app/routeurs/conseiller_ia.py): `backend-fastapi/app/routeurs/conseiller_ia.py`
- [QR scanning](https://github.com/anitche-team/anitche/blob/main/backend-fastapi/app/routeurs/scan_qr.py): `backend-fastapi/app/routeurs/scan_qr.py`
- [Live tracking](https://github.com/anitche-team/anitche/blob/main/backend-fastapi/app/routeurs/suivi_temps_reel.py): `backend-fastapi/app/routeurs/suivi_temps_reel.py`

### Customer services

- [Loyalty program](https://github.com/anitche-team/anitche/blob/main/backend-django/apps/fidelite/views.py): `backend-django/apps/fidelite/views.py`
- [Notifications](https://github.com/anitche-team/anitche/blob/main/backend-django/apps/notifications/views.py): `backend-django/apps/notifications/views.py`
- [Customer support](https://github.com/anitche-team/anitche/blob/main/backend-django/apps/support/views.py): `backend-django/apps/support/views.py`

### Other components

- **Shopper**

## Connections

- Shopper → Web application: uses
- Web application → Shopper: renders
- Rapid services API → Search: registers
- Rapid services API → AI advice: registers
- Rapid services API → QR scanning: registers
- Rapid services API → Live tracking: registers
