# lucasandrade1605/site-landing-studio architecture

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

- Interactive diagram: https://gitdiagram.com/lucasandrade1605/site-landing-studio
- Repository: https://github.com/lucasandrade1605/site-landing-studio

## Overview

This repository implements a marketing website, with a small Express server that serves the client. A visitor enters the React app, reaches the home page, and browses agency information, features, portfolio work, pricing, FAQs, and contact-oriented navigation. The server registers API routes and serves either development middleware or production static assets; the sampled routes currently define no API behavior. Several page-component connections are dashed because the home page’s composition was not excerpted, and the README provides no additional capability documentation.

Main entry points: [`client/src/pages/home.tsx`](https://github.com/lucasandrade1605/site-landing-studio/blob/main/client/src/pages/home.tsx) (Home page), [`server/index.ts`](https://github.com/lucasandrade1605/site-landing-studio/blob/main/server/index.ts) (Express server), [`client/src/App.tsx`](https://github.com/lucasandrade1605/site-landing-studio/blob/main/client/src/App.tsx) (App router), [`client/src/components/Portfolio.tsx`](https://github.com/lucasandrade1605/site-landing-studio/blob/main/client/src/components/Portfolio.tsx) (Portfolio)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_website["Marketing website"]
  node_home["Home page<br/>[home.tsx]"]
  node_about["About<br/>[About.tsx]"]
  node_faq["FAQs<br/>[Faq.tsx]"]
  node_features["Features<br/>[Features.tsx]"]
  node_footer["Footer<br/>[Footer.tsx]"]
  node_hero["Hero<br/>[Hero.tsx]"]
  node_navigation["Navigation<br/>[Navigation.tsx]"]
  node_portfolio["Portfolio<br/>[Portfolio.tsx]"]
  node_pricing["Pricing<br/>[Pricing.tsx]"]
end

subgraph group_client["Client runtime"]
  node_entry["React entry<br/>[main.tsx]"]
  node_app["App router<br/>[App.tsx]"]
  node_portfolio_hook["Portfolio data hook"]
  node_queries["Query client<br/>[queryClient.ts]"]
end

subgraph group_server["Server runtime"]
  node_express["Express server<br/>[index.ts]"]
  node_routes["API routes<br/>[routes.ts]"]
  node_storage[("User storage<br/>[storage.ts]")]
  node_static["Static serving<br/>[static.ts]"]
end

subgraph group_dev["Development serving"]
  node_vite_middleware["Vite middleware<br/>[vite.ts]"]
  node_vite_config["Vite configuration<br/>[vite.config.ts]"]
  node_meta_plugin["Meta image plugin"]
end

node_visitor(("Site visitor"))

node_visitor -->|"opens site"| node_entry
node_entry -->|"renders"| node_app
node_app -->|"routes to"| node_home
node_app -->|"provides"| node_queries
node_home -.->|"renders"| node_hero
node_home -.->|"renders"| node_about
node_home -.->|"renders"| node_features
node_home -.->|"renders"| node_portfolio
node_home -.->|"renders"| node_pricing
node_home -.->|"renders"| node_faq
node_home -.->|"renders"| node_navigation
node_home -.->|"renders"| node_footer
node_portfolio -.->|"loads projects"| node_portfolio_hook
node_express -->|"registers"| node_routes
node_express -->|"serves production"| node_static
node_express -->|"sets up development"| node_vite_middleware
node_vite_middleware -->|"configures from"| node_vite_config
node_vite_config -->|"registers"| node_meta_plugin

click node_entry "https://github.com/lucasandrade1605/site-landing-studio/blob/main/client/src/main.tsx"
click node_app "https://github.com/lucasandrade1605/site-landing-studio/blob/main/client/src/App.tsx"
click node_home "https://github.com/lucasandrade1605/site-landing-studio/blob/main/client/src/pages/home.tsx"
click node_about "https://github.com/lucasandrade1605/site-landing-studio/blob/main/client/src/components/About.tsx"
click node_faq "https://github.com/lucasandrade1605/site-landing-studio/blob/main/client/src/components/Faq.tsx"
click node_features "https://github.com/lucasandrade1605/site-landing-studio/blob/main/client/src/components/Features.tsx"
click node_footer "https://github.com/lucasandrade1605/site-landing-studio/blob/main/client/src/components/Footer.tsx"
click node_hero "https://github.com/lucasandrade1605/site-landing-studio/blob/main/client/src/components/Hero.tsx"
click node_navigation "https://github.com/lucasandrade1605/site-landing-studio/blob/main/client/src/components/Navigation.tsx"
click node_portfolio "https://github.com/lucasandrade1605/site-landing-studio/blob/main/client/src/components/Portfolio.tsx"
click node_pricing "https://github.com/lucasandrade1605/site-landing-studio/blob/main/client/src/components/Pricing.tsx"
click node_portfolio_hook "https://github.com/lucasandrade1605/site-landing-studio/blob/main/client/src/hooks/use-portfolio-projects.ts"
click node_queries "https://github.com/lucasandrade1605/site-landing-studio/blob/main/client/src/lib/queryClient.ts"
click node_express "https://github.com/lucasandrade1605/site-landing-studio/blob/main/server/index.ts"
click node_routes "https://github.com/lucasandrade1605/site-landing-studio/blob/main/server/routes.ts"
click node_storage "https://github.com/lucasandrade1605/site-landing-studio/blob/main/server/storage.ts"
click node_static "https://github.com/lucasandrade1605/site-landing-studio/blob/main/server/static.ts"
click node_vite_middleware "https://github.com/lucasandrade1605/site-landing-studio/blob/main/server/vite.ts"
click node_vite_config "https://github.com/lucasandrade1605/site-landing-studio/blob/main/vite.config.ts"
click node_meta_plugin "https://github.com/lucasandrade1605/site-landing-studio/blob/main/vite-plugin-meta-images.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_about,node_faq,node_features,node_footer,node_hero,node_navigation,node_portfolio,node_pricing toneBlue
class node_entry,node_app,node_portfolio_hook,node_queries toneAmber
class node_express,node_routes,node_storage,node_static toneMint
class node_vite_middleware,node_vite_config,node_meta_plugin toneRose
class node_visitor toneIndigo
```

## Components

### Marketing website

- [Home page](https://github.com/lucasandrade1605/site-landing-studio/blob/main/client/src/pages/home.tsx): `client/src/pages/home.tsx`
- [About](https://github.com/lucasandrade1605/site-landing-studio/blob/main/client/src/components/About.tsx): `client/src/components/About.tsx`
- [FAQs](https://github.com/lucasandrade1605/site-landing-studio/blob/main/client/src/components/Faq.tsx): `client/src/components/Faq.tsx`
- [Features](https://github.com/lucasandrade1605/site-landing-studio/blob/main/client/src/components/Features.tsx): `client/src/components/Features.tsx`
- [Footer](https://github.com/lucasandrade1605/site-landing-studio/blob/main/client/src/components/Footer.tsx): `client/src/components/Footer.tsx`
- [Hero](https://github.com/lucasandrade1605/site-landing-studio/blob/main/client/src/components/Hero.tsx): `client/src/components/Hero.tsx`
- [Navigation](https://github.com/lucasandrade1605/site-landing-studio/blob/main/client/src/components/Navigation.tsx): `client/src/components/Navigation.tsx`
- [Portfolio](https://github.com/lucasandrade1605/site-landing-studio/blob/main/client/src/components/Portfolio.tsx): `client/src/components/Portfolio.tsx`
- [Pricing](https://github.com/lucasandrade1605/site-landing-studio/blob/main/client/src/components/Pricing.tsx): `client/src/components/Pricing.tsx`

### Client runtime

- [React entry](https://github.com/lucasandrade1605/site-landing-studio/blob/main/client/src/main.tsx): `client/src/main.tsx`
- [App router](https://github.com/lucasandrade1605/site-landing-studio/blob/main/client/src/App.tsx): `client/src/App.tsx`
- [Portfolio data hook](https://github.com/lucasandrade1605/site-landing-studio/blob/main/client/src/hooks/use-portfolio-projects.ts): `client/src/hooks/use-portfolio-projects.ts`
- [Query client](https://github.com/lucasandrade1605/site-landing-studio/blob/main/client/src/lib/queryClient.ts): `client/src/lib/queryClient.ts`

### Server runtime

- [Express server](https://github.com/lucasandrade1605/site-landing-studio/blob/main/server/index.ts): `server/index.ts`
- [API routes](https://github.com/lucasandrade1605/site-landing-studio/blob/main/server/routes.ts): `server/routes.ts`
- [User storage](https://github.com/lucasandrade1605/site-landing-studio/blob/main/server/storage.ts): `server/storage.ts`
- [Static serving](https://github.com/lucasandrade1605/site-landing-studio/blob/main/server/static.ts): `server/static.ts`

### Development serving

- [Vite middleware](https://github.com/lucasandrade1605/site-landing-studio/blob/main/server/vite.ts): `server/vite.ts`
- [Vite configuration](https://github.com/lucasandrade1605/site-landing-studio/blob/main/vite.config.ts): `vite.config.ts`
- [Meta image plugin](https://github.com/lucasandrade1605/site-landing-studio/blob/main/vite-plugin-meta-images.ts): `vite-plugin-meta-images.ts`

### Other components

- **Site visitor**

## Connections

- Site visitor → React entry: opens site (evidence: `client/src/main.tsx`)
- React entry → App router: renders (evidence: `client/src/main.tsx`)
- App router → Home page: routes to (evidence: `client/src/App.tsx`)
- App router → Query client: provides (evidence: `client/src/App.tsx`)
- Home page → Hero: renders
- Home page → About: renders
- Home page → Features: renders
- Home page → Portfolio: renders
- Home page → Pricing: renders
- Home page → FAQs: renders
- Home page → Navigation: renders
- Home page → Footer: renders
- Portfolio → Portfolio data hook: loads projects
- Express server → API routes: registers (evidence: `server/index.ts`)
- Express server → Static serving: serves production (evidence: `server/index.ts`)
- Express server → Vite middleware: sets up development (evidence: `server/index.ts`)
- Vite middleware → Vite configuration: configures from (evidence: `server/vite.ts`)
- Vite configuration → Meta image plugin: registers (evidence: `vite.config.ts`)
