# heritierbambu00-lgtm/developpeurselite architecture

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

- Interactive diagram: https://gitdiagram.com/heritierbambu00-lgtm/developpeurselite
- Repository: https://github.com/heritierbambu00-lgtm/developpeurselite

## Overview

DEVELITE TECH is a public agency portfolio and contact site paired with a role-protected administration workspace. Visitors browse the landing page and blog, can submit contact requests, and can use a public AI assistant; staff have dashboards and content, project, and inbox management. The graph emphasizes the documented route/render structure and sampled integrations. Several admin capabilities are represented from the file tree, but their internal calls are not inferred where source excerpts do not show them.

Main entry points: [`src/App.jsx`](https://github.com/heritierbambu00-lgtm/developpeurselite/blob/main/src/App.jsx) (App and routes), [`src/lib/supabaseClient.js`](https://github.com/heritierbambu00-lgtm/developpeurselite/blob/main/src/lib/supabaseClient.js) (Supabase client), [`src/layouts/AdminLayout.jsx`](https://github.com/heritierbambu00-lgtm/developpeurselite/blob/main/src/layouts/AdminLayout.jsx) (Admin layout), [`src/components/Contact.jsx`](https://github.com/heritierbambu00-lgtm/developpeurselite/blob/main/src/components/Contact.jsx) (Contact form)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_public["Public experience"]
  node_app["App and routes<br/>[App.jsx]"]
  node_landing["Portfolio sections<br/>[App.jsx]"]
  node_navbar["Navigation<br/>[Navbar.jsx]"]
  node_blog["Blog listing<br/>[Blog.jsx]"]
  node_post["Blog article<br/>[BlogPost.jsx]"]
end

subgraph group_engagement["Visitor engagement"]
  node_contact["Contact form<br/>[Contact.jsx]"]
  node_publicchat["Public AI chat"]
end

subgraph group_admin["Administration"]
  node_login["Login<br/>[LoginPage.jsx]"]
  node_guard["Role guard<br/>[ProtectedRoute.jsx]"]
  node_layout["Admin layout<br/>[AdminLayout.jsx]"]
  node_dashboards["Role dashboards"]
  node_blogmanage["Blog management<br/>[BlogManager.jsx]"]
  node_projects["Project management<br/>[ProjectManager.jsx]"]
  node_newproject["Project creation<br/>[NewProject.jsx]"]
  node_inbox["Inbox<br/>[Inbox.jsx]"]
  node_skills["Skills management<br/>[SkillsManager.jsx]"]
  node_testimonials["Testimonials management"]
  node_users["User management<br/>[UserManagement.jsx]"]
end

subgraph group_platform["Shared platform"]
  node_ai["AI services<br/>[aiService.js]"]
  node_email["Email service<br/>[emailService.js]"]
  node_emailapi["Email endpoint<br/>[send-email.js]"]
  node_supabase["Supabase client<br/>[supabaseClient.js]"]
  node_language["Language context"]
end

node_visitor(("Visitor"))
node_database[("Supabase")]
node_groq{{"Groq API"}}
node_emailservice{{"Email delivery"}}

node_visitor -->|"opens"| node_app
node_app -->|"renders"| node_landing
node_app -->|"renders"| node_navbar
node_app -->|"routes to"| node_blog
node_app -->|"routes to"| node_post
node_app -->|"routes to"| node_login
node_app -->|"protects routes"| node_guard
node_app -->|"renders admin"| node_layout
node_app -->|"renders"| node_contact
node_app -->|"renders"| node_publicchat
node_contact -.-> node_ai
node_contact -.-> node_email
node_publicchat -.-> node_ai
node_email -->|"posts request"| node_emailapi
node_ai -->|"requests completion"| node_groq
node_emailapi -.-> node_emailservice
node_login -.-> node_supabase
node_guard -.-> node_supabase
node_layout -.->|"hosts routes"| node_dashboards
node_layout -.-> node_supabase
node_layout -->|"renders switcher"| node_language
node_blogmanage -.-> node_supabase
node_projects -->|"writes projects"| node_supabase
node_newproject -.-> node_supabase
node_inbox -.-> node_supabase
node_inbox -.-> node_email
node_skills -->|"reads and writes"| node_supabase
node_testimonials -->|"reads and updates"| node_supabase
node_users -.-> node_supabase
node_supabase -.-> node_database

click node_app "https://github.com/heritierbambu00-lgtm/developpeurselite/blob/main/src/App.jsx"
click node_landing "https://github.com/heritierbambu00-lgtm/developpeurselite/blob/main/src/App.jsx"
click node_navbar "https://github.com/heritierbambu00-lgtm/developpeurselite/blob/main/src/components/Navbar.jsx"
click node_blog "https://github.com/heritierbambu00-lgtm/developpeurselite/blob/main/src/pages/public/Blog.jsx"
click node_post "https://github.com/heritierbambu00-lgtm/developpeurselite/blob/main/src/pages/public/BlogPost.jsx"
click node_contact "https://github.com/heritierbambu00-lgtm/developpeurselite/blob/main/src/components/Contact.jsx"
click node_publicchat "https://github.com/heritierbambu00-lgtm/developpeurselite/blob/main/src/components/PublicAIChatbot.jsx"
click node_ai "https://github.com/heritierbambu00-lgtm/developpeurselite/blob/main/src/lib/aiService.js"
click node_email "https://github.com/heritierbambu00-lgtm/developpeurselite/blob/main/src/lib/emailService.js"
click node_emailapi "https://github.com/heritierbambu00-lgtm/developpeurselite/blob/main/api/send-email.js"
click node_supabase "https://github.com/heritierbambu00-lgtm/developpeurselite/blob/main/src/lib/supabaseClient.js"
click node_language "https://github.com/heritierbambu00-lgtm/developpeurselite/blob/main/src/context/LanguageContext.jsx"
click node_login "https://github.com/heritierbambu00-lgtm/developpeurselite/blob/main/src/pages/auth/LoginPage.jsx"
click node_guard "https://github.com/heritierbambu00-lgtm/developpeurselite/blob/main/src/components/auth/ProtectedRoute.jsx"
click node_layout "https://github.com/heritierbambu00-lgtm/developpeurselite/blob/main/src/layouts/AdminLayout.jsx"
click node_dashboards "https://github.com/heritierbambu00-lgtm/developpeurselite/tree/main/src/pages/admin"
click node_blogmanage "https://github.com/heritierbambu00-lgtm/developpeurselite/blob/main/src/pages/admin/BlogManager.jsx"
click node_projects "https://github.com/heritierbambu00-lgtm/developpeurselite/blob/main/src/pages/admin/ProjectManager.jsx"
click node_newproject "https://github.com/heritierbambu00-lgtm/developpeurselite/blob/main/src/pages/admin/NewProject.jsx"
click node_inbox "https://github.com/heritierbambu00-lgtm/developpeurselite/blob/main/src/pages/admin/Inbox.jsx"
click node_skills "https://github.com/heritierbambu00-lgtm/developpeurselite/blob/main/src/pages/admin/SkillsManager.jsx"
click node_testimonials "https://github.com/heritierbambu00-lgtm/developpeurselite/blob/main/src/pages/admin/TestimonialManager.jsx"
click node_users "https://github.com/heritierbambu00-lgtm/developpeurselite/blob/main/src/pages/admin/UserManagement.jsx"

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_landing,node_navbar,node_blog,node_post toneBlue
class node_contact,node_publicchat,node_database toneAmber
class node_login,node_guard,node_layout,node_dashboards,node_blogmanage,node_projects,node_newproject,node_inbox,node_skills,node_testimonials,node_users,node_groq toneMint
class node_ai,node_email,node_emailapi,node_supabase,node_language toneRose
class node_visitor,node_emailservice toneIndigo
```

## Components

### Public experience

- [App and routes](https://github.com/heritierbambu00-lgtm/developpeurselite/blob/main/src/App.jsx): `src/App.jsx`
- [Portfolio sections](https://github.com/heritierbambu00-lgtm/developpeurselite/blob/main/src/App.jsx): `src/App.jsx`
- [Navigation](https://github.com/heritierbambu00-lgtm/developpeurselite/blob/main/src/components/Navbar.jsx): `src/components/Navbar.jsx`
- [Blog listing](https://github.com/heritierbambu00-lgtm/developpeurselite/blob/main/src/pages/public/Blog.jsx): `src/pages/public/Blog.jsx`
- [Blog article](https://github.com/heritierbambu00-lgtm/developpeurselite/blob/main/src/pages/public/BlogPost.jsx): `src/pages/public/BlogPost.jsx`

### Visitor engagement

- [Contact form](https://github.com/heritierbambu00-lgtm/developpeurselite/blob/main/src/components/Contact.jsx): `src/components/Contact.jsx`
- [Public AI chat](https://github.com/heritierbambu00-lgtm/developpeurselite/blob/main/src/components/PublicAIChatbot.jsx): `src/components/PublicAIChatbot.jsx`

### Administration

- [Login](https://github.com/heritierbambu00-lgtm/developpeurselite/blob/main/src/pages/auth/LoginPage.jsx): `src/pages/auth/LoginPage.jsx`
- [Role guard](https://github.com/heritierbambu00-lgtm/developpeurselite/blob/main/src/components/auth/ProtectedRoute.jsx): `src/components/auth/ProtectedRoute.jsx`
- [Admin layout](https://github.com/heritierbambu00-lgtm/developpeurselite/blob/main/src/layouts/AdminLayout.jsx): `src/layouts/AdminLayout.jsx`
- [Role dashboards](https://github.com/heritierbambu00-lgtm/developpeurselite/tree/main/src/pages/admin): `src/pages/admin`
- [Blog management](https://github.com/heritierbambu00-lgtm/developpeurselite/blob/main/src/pages/admin/BlogManager.jsx): `src/pages/admin/BlogManager.jsx`
- [Project management](https://github.com/heritierbambu00-lgtm/developpeurselite/blob/main/src/pages/admin/ProjectManager.jsx): `src/pages/admin/ProjectManager.jsx`
- [Project creation](https://github.com/heritierbambu00-lgtm/developpeurselite/blob/main/src/pages/admin/NewProject.jsx): `src/pages/admin/NewProject.jsx`
- [Inbox](https://github.com/heritierbambu00-lgtm/developpeurselite/blob/main/src/pages/admin/Inbox.jsx): `src/pages/admin/Inbox.jsx`
- [Skills management](https://github.com/heritierbambu00-lgtm/developpeurselite/blob/main/src/pages/admin/SkillsManager.jsx): `src/pages/admin/SkillsManager.jsx`
- [Testimonials management](https://github.com/heritierbambu00-lgtm/developpeurselite/blob/main/src/pages/admin/TestimonialManager.jsx): `src/pages/admin/TestimonialManager.jsx`
- [User management](https://github.com/heritierbambu00-lgtm/developpeurselite/blob/main/src/pages/admin/UserManagement.jsx): `src/pages/admin/UserManagement.jsx`

### Shared platform

- [AI services](https://github.com/heritierbambu00-lgtm/developpeurselite/blob/main/src/lib/aiService.js): `src/lib/aiService.js`
- [Email service](https://github.com/heritierbambu00-lgtm/developpeurselite/blob/main/src/lib/emailService.js): `src/lib/emailService.js`
- [Email endpoint](https://github.com/heritierbambu00-lgtm/developpeurselite/blob/main/api/send-email.js): `api/send-email.js`
- [Supabase client](https://github.com/heritierbambu00-lgtm/developpeurselite/blob/main/src/lib/supabaseClient.js): `src/lib/supabaseClient.js`
- [Language context](https://github.com/heritierbambu00-lgtm/developpeurselite/blob/main/src/context/LanguageContext.jsx): `src/context/LanguageContext.jsx`

### Other components

- **Visitor**
- **Supabase**
- **Groq API**
- **Email delivery**

## Connections

- Visitor → App and routes: opens (evidence: `src/App.jsx`)
- App and routes → Portfolio sections: renders (evidence: `src/App.jsx`)
- App and routes → Navigation: renders (evidence: `src/App.jsx`)
- App and routes → Blog listing: routes to (evidence: `src/App.jsx`)
- App and routes → Blog article: routes to (evidence: `src/App.jsx`)
- App and routes → Login: routes to (evidence: `src/App.jsx`)
- App and routes → Role guard: protects routes (evidence: `src/App.jsx`)
- App and routes → Admin layout: renders admin (evidence: `src/App.jsx`)
- App and routes → Contact form: renders (evidence: `src/App.jsx`)
- App and routes → Public AI chat: renders (evidence: `src/App.jsx`)
- Contact form → AI services (evidence: `src/components/Contact.jsx`)
- Contact form → Email service (evidence: `src/components/Contact.jsx`)
- Public AI chat → AI services (evidence: `src/components/PublicAIChatbot.jsx`)
- Email service → Email endpoint: posts request (evidence: `src/lib/emailService.js`)
- AI services → Groq API: requests completion (evidence: `src/lib/aiService.js`)
- Email endpoint → Email delivery
- Login → Supabase client (evidence: `src/pages/auth/LoginPage.jsx`)
- Role guard → Supabase client (evidence: `src/components/auth/ProtectedRoute.jsx`)
- Admin layout → Role dashboards: hosts routes
- Admin layout → Supabase client (evidence: `src/layouts/AdminLayout.jsx`)
- Admin layout → Language context: renders switcher (evidence: `src/layouts/AdminLayout.jsx`)
- Blog management → Supabase client (evidence: `src/pages/admin/BlogManager.jsx`)
- Project management → Supabase client: writes projects (evidence: `src/pages/admin/ProjectManager.jsx`)
- Project creation → Supabase client (evidence: `src/pages/admin/NewProject.jsx`)
- Inbox → Supabase client (evidence: `src/pages/admin/Inbox.jsx`)
- Inbox → Email service (evidence: `src/pages/admin/Inbox.jsx`)
- Skills management → Supabase client: reads and writes (evidence: `src/pages/admin/SkillsManager.jsx`)
- Testimonials management → Supabase client: reads and updates (evidence: `src/pages/admin/TestimonialManager.jsx`)
- User management → Supabase client (evidence: `src/pages/admin/UserManagement.jsx`)
- Supabase client → Supabase
