# joshcode33/mysoft-app-end- architecture

> Architecture diagram of the GitHub repository joshcode33/mysoft-app-end-, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-22). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/joshcode33/mysoft-app-end-
- Repository: https://github.com/joshcode33/mysoft-app-end-

## Overview

MY SOFT is a French-language technology-company website with public marketing, product, project, contact, and blog pages, plus an authenticated content-management area. Visitors browse company offerings or submit a contact request; administrators manage site content and incoming requests. Public content is fetched from Convex with defaults in some components when dynamic content is unavailable. The excerpts show selected page-to-data interactions, but not the full backend implementations or every admin route, so those relationships are omitted where unsupported.

Main entry points: [`app/blog/page.jsx`](https://github.com/joshcode33/mysoft-app-end-/blob/master/app/blog/page.jsx) (Blog page), [`lib/content.js`](https://github.com/joshcode33/mysoft-app-end-/blob/master/lib/content.js) (Published content fetch), [`components/admin/ContentManager.jsx`](https://github.com/joshcode33/mysoft-app-end-/blob/master/components/admin/ContentManager.jsx) (Content manager), [`app/contact/page.jsx`](https://github.com/joshcode33/mysoft-app-end-/blob/master/app/contact/page.jsx) (Contact form)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_public["Public website"]
  node_home["Home page<br/>[page.jsx]"]
  node_home_sections["Home sections<br/>[Services.jsx]"]
  node_contact_page["Contact form<br/>[page.jsx]"]
  node_public_pages["Company pages"]
end

subgraph group_content["Content and blog"]
  node_blog_page["Blog page<br/>[page.jsx]"]
  node_blog_listing["Blog listing<br/>[BlogListing.jsx]"]
  node_newsletter["Newsletter form<br/>[NewsletterForm.jsx]"]
end

subgraph group_admin["Administration"]
  node_admin_content["Content manager<br/>[ContentManager.jsx]"]
  node_admin_contacts["Contact manager"]
  node_admin_auth["Admin context<br/>[AdminContext.jsx]"]
end

subgraph group_backend["Convex backend"]
  node_content_fetch["Published content fetch<br/>[content.js]"]
  node_contact_helpers["Contact settings helper<br/>[contact.js]"]
  node_convex_services[("Services data<br/>[services.ts]")]
  node_convex_contacts[("Contact requests<br/>[contacts.ts]")]
  node_convex_articles[("Articles data<br/>[articles.ts]")]
  node_convex_newsletter[("Newsletter data<br/>[newsletter.ts]")]
end

node_visitor(("Visitor"))

node_visitor -->|"browses"| node_home
node_home -->|"renders"| node_home_sections
node_visitor -->|"submits request"| node_contact_page
node_contact_page -->|"creates request"| node_convex_contacts
node_home_sections -->|"fetches services"| node_content_fetch
node_content_fetch -->|"queries published data"| node_convex_services
node_visitor -->|"browses"| node_blog_page
node_blog_page -->|"fetches articles"| node_convex_articles
node_blog_page -->|"renders listing"| node_blog_listing
node_blog_page -->|"renders form"| node_newsletter
node_newsletter -.->|"submits subscription"| node_convex_newsletter
node_admin_content -.->|"queries and mutates"| node_convex_services
node_admin_contacts -->|"queries requests"| node_convex_contacts
node_admin_content -->|"checks permissions"| node_admin_auth
node_admin_content -.->|"uses content helpers"| node_content_fetch
node_contact_page -->|"formats settings"| node_contact_helpers
node_public_pages -.->|"fetches published content"| node_content_fetch

click node_home "https://github.com/joshcode33/mysoft-app-end-/blob/master/app/page.jsx"
click node_home_sections "https://github.com/joshcode33/mysoft-app-end-/blob/master/components/Services.jsx"
click node_contact_page "https://github.com/joshcode33/mysoft-app-end-/blob/master/app/contact/page.jsx"
click node_public_pages "https://github.com/joshcode33/mysoft-app-end-/tree/master/app"
click node_blog_page "https://github.com/joshcode33/mysoft-app-end-/blob/master/app/blog/page.jsx"
click node_blog_listing "https://github.com/joshcode33/mysoft-app-end-/blob/master/components/blog/BlogListing.jsx"
click node_newsletter "https://github.com/joshcode33/mysoft-app-end-/blob/master/components/blog/NewsletterForm.jsx"
click node_admin_content "https://github.com/joshcode33/mysoft-app-end-/blob/master/components/admin/ContentManager.jsx"
click node_admin_contacts "https://github.com/joshcode33/mysoft-app-end-/blob/master/components/admin/ContactsManager.jsx"
click node_admin_auth "https://github.com/joshcode33/mysoft-app-end-/blob/master/components/admin/AdminContext.jsx"
click node_content_fetch "https://github.com/joshcode33/mysoft-app-end-/blob/master/lib/content.js"
click node_contact_helpers "https://github.com/joshcode33/mysoft-app-end-/blob/master/lib/contact.js"
click node_convex_services "https://github.com/joshcode33/mysoft-app-end-/blob/master/convex/services.ts"
click node_convex_contacts "https://github.com/joshcode33/mysoft-app-end-/blob/master/convex/contacts.ts"
click node_convex_articles "https://github.com/joshcode33/mysoft-app-end-/blob/master/convex/articles.ts"
click node_convex_newsletter "https://github.com/joshcode33/mysoft-app-end-/blob/master/convex/newsletter.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_home,node_home_sections,node_contact_page,node_public_pages toneBlue
class node_blog_page,node_blog_listing,node_newsletter toneAmber
class node_admin_content,node_admin_contacts,node_admin_auth toneMint
class node_content_fetch,node_contact_helpers,node_convex_services,node_convex_contacts,node_convex_articles,node_convex_newsletter toneRose
class node_visitor toneIndigo
```

## Components

### Public website

- [Home page](https://github.com/joshcode33/mysoft-app-end-/blob/master/app/page.jsx): `app/page.jsx`
- [Home sections](https://github.com/joshcode33/mysoft-app-end-/blob/master/components/Services.jsx): `components/Services.jsx`
- [Contact form](https://github.com/joshcode33/mysoft-app-end-/blob/master/app/contact/page.jsx): `app/contact/page.jsx`
- [Company pages](https://github.com/joshcode33/mysoft-app-end-/tree/master/app): `app`

### Content and blog

- [Blog page](https://github.com/joshcode33/mysoft-app-end-/blob/master/app/blog/page.jsx): `app/blog/page.jsx`
- [Blog listing](https://github.com/joshcode33/mysoft-app-end-/blob/master/components/blog/BlogListing.jsx): `components/blog/BlogListing.jsx`
- [Newsletter form](https://github.com/joshcode33/mysoft-app-end-/blob/master/components/blog/NewsletterForm.jsx): `components/blog/NewsletterForm.jsx`

### Administration

- [Content manager](https://github.com/joshcode33/mysoft-app-end-/blob/master/components/admin/ContentManager.jsx): `components/admin/ContentManager.jsx`
- [Contact manager](https://github.com/joshcode33/mysoft-app-end-/blob/master/components/admin/ContactsManager.jsx): `components/admin/ContactsManager.jsx`
- [Admin context](https://github.com/joshcode33/mysoft-app-end-/blob/master/components/admin/AdminContext.jsx): `components/admin/AdminContext.jsx`

### Convex backend

- [Published content fetch](https://github.com/joshcode33/mysoft-app-end-/blob/master/lib/content.js): `lib/content.js`
- [Contact settings helper](https://github.com/joshcode33/mysoft-app-end-/blob/master/lib/contact.js): `lib/contact.js`
- [Services data](https://github.com/joshcode33/mysoft-app-end-/blob/master/convex/services.ts): `convex/services.ts`
- [Contact requests](https://github.com/joshcode33/mysoft-app-end-/blob/master/convex/contacts.ts): `convex/contacts.ts`
- [Articles data](https://github.com/joshcode33/mysoft-app-end-/blob/master/convex/articles.ts): `convex/articles.ts`
- [Newsletter data](https://github.com/joshcode33/mysoft-app-end-/blob/master/convex/newsletter.ts): `convex/newsletter.ts`

### Other components

- **Visitor**

## Connections

- Visitor → Home page: browses (evidence: `app/page.jsx`)
- Home page → Home sections: renders (evidence: `app/page.jsx`)
- Visitor → Contact form: submits request (evidence: `app/contact/page.jsx`)
- Contact form → Contact requests: creates request (evidence: `app/contact/page.jsx`)
- Home sections → Published content fetch: fetches services (evidence: `components/Services.jsx`)
- Published content fetch → Services data: queries published data (evidence: `lib/content.js`)
- Visitor → Blog page: browses (evidence: `app/blog/page.jsx`)
- Blog page → Articles data: fetches articles (evidence: `app/blog/page.jsx`)
- Blog page → Blog listing: renders listing (evidence: `app/blog/page.jsx`)
- Blog page → Newsletter form: renders form (evidence: `app/blog/page.jsx`)
- Newsletter form → Newsletter data: submits subscription
- Content manager → Services data: queries and mutates
- Contact manager → Contact requests: queries requests (evidence: `components/admin/ContactsManager.jsx`)
- Content manager → Admin context: checks permissions (evidence: `components/admin/ContentManager.jsx`)
- Content manager → Published content fetch: uses content helpers
- Contact form → Contact settings helper: formats settings (evidence: `app/contact/page.jsx`)
- Company pages → Published content fetch: fetches published content (evidence: `app/services/page.jsx`)
