# xclusivkhodes/full-stack-dev architecture

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

- Interactive diagram: https://gitdiagram.com/xclusivkhodes/full-stack-dev
- Repository: https://github.com/xclusivkhodes/full-stack-dev

## Overview

This repository is a portfolio of independent learning projects, not one integrated product. Its workflows range from scraping and enriching grant listings, to serving a sighting/news app, to account verification and small frontend demos. The graph emphasizes those runtime examples and other represented product branches; it does not imply that projects communicate. Edges use the excerpts or SOURCE INDEX references as evidence. Several listed capabilities have only tree-level evidence, so their internal links are omitted.

Main entry points: [`nodejs/lets-talk/handlers/routeHandlers.js`](https://github.com/xclusivkhodes/full-stack-dev/blob/main/nodejs/lets-talk/handlers/routeHandlers.js) (Route handlers), [`apify/grant-hunter-actor/src/main.js`](https://github.com/xclusivkhodes/full-stack-dev/blob/main/apify/grant-hunter-actor/src/main.js) (Actor runtime), [`nodejs/lets-talk/server.js`](https://github.com/xclusivkhodes/full-stack-dev/blob/main/nodejs/lets-talk/server.js) (HTTP server), [`threads/backend/controller/authController.js`](https://github.com/xclusivkhodes/full-stack-dev/blob/main/threads/backend/controller/authController.js) (Auth controller)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_grants["Grant scraper"]
  node_actor["Actor runtime<br/>[main.js]"]
  node_input["Input validation<br/>[validate.js]"]
  node_sourceconfig["Source configuration<br/>[config.js]"]
  node_govsource["Government scraper<br/>[government.js]"]
  node_normalize["Result normalization<br/>[normalize.js]"]
  node_ai["AI enrichment<br/>[ai.js]"]
  node_dataset[("Apify dataset")]
end

subgraph group_sightings["Sighting app"]
  node_sightingclient(("Sighting user"))
  node_httpserver["HTTP server<br/>[server.js]"]
  node_routes["Route handlers<br/>[routeHandlers.js]"]
  node_sightingdata[("Sighting data<br/>[getData.js]")]
  node_bodyparser["Body parsing<br/>[parseJSONBody.js]"]
  node_sanitizer["Input sanitizing<br/>[sanitizeHtml.js]"]
  node_sightingwriter["Sighting writer<br/>[addNewSighting.js]"]
  node_events["Sighting events<br/>[sightingEvents.js]"]
  node_stories["News stories<br/>[story.js]"]
  node_staticfiles["Static file serving<br/>[serveStatic.js]"]
end

subgraph group_auth["Account auth"]
  node_authuser(("Account user"))
  node_useroutes["User routes<br/>[userRoutes.js]"]
  node_authcontroller["Auth controller<br/>[authController.js]"]
  node_authmiddleware["Authentication middleware<br/>[isAuthenticated.js]"]
  node_usermodel[("User model<br/>[userModel.js]")]
  node_email["Email sender<br/>[email.js]"]
end

subgraph group_frontends["Frontend projects"]
  node_memoriesapp["Memories interface<br/>[App.jsx]"]
  node_posts["Post listing<br/>[Posts.jsx]"]
  node_postitem["Post display<br/>[Post.jsx]"]
  node_travelapp["Travel journal<br/>[App.jsx]"]
  node_travelentries["Travel entries<br/>[Entries.jsx]"]
  node_traveldata["Journal data<br/>[data.js]"]
  node_counterapp["Counter interface<br/>[App.jsx]"]
  node_counterstore["Counter store<br/>[index.js]"]
end

subgraph group_other["Other runtimes"]
  node_wildserver["Destination API<br/>[server.js]"]
  node_wilddb[("Destination data access<br/>[db.js]")]
  node_wildutils["Destination filters<br/>[utils.js]"]
end

node_actor -->|"validates input"| node_input
node_actor -->|"reads sources"| node_sourceconfig
node_actor -->|"scrapes"| node_govsource
node_actor -->|"normalizes results"| node_normalize
node_actor -.->|"optionally enriches"| node_ai
node_actor -->|"pushes results"| node_dataset
node_sightingclient -.->|"sends requests"| node_httpserver
node_httpserver -->|"dispatches API"| node_routes
node_httpserver -->|"serves files"| node_staticfiles
node_routes -->|"reads data"| node_sightingdata
node_routes -->|"parses body"| node_bodyparser
node_routes -->|"sanitizes input"| node_sanitizer
node_routes -->|"adds sighting"| node_sightingwriter
node_routes -->|"emits event"| node_events
node_routes -->|"streams stories"| node_stories
node_useroutes -->|"routes signup"| node_authcontroller
node_useroutes -->|"guards verification"| node_authmiddleware
node_authcontroller -->|"manages users"| node_usermodel
node_authcontroller -->|"sends verification"| node_email
node_authuser -.->|"submits account requests"| node_useroutes
node_memoriesapp -->|"renders posts"| node_posts
node_posts -->|"renders items"| node_postitem
node_travelapp -->|"renders entries"| node_travelentries
node_travelapp -->|"maps journal data"| node_traveldata
node_counterapp -->|"dispatches actions"| node_counterstore
node_wildserver -->|"loads destinations"| node_wilddb
node_wildserver -->|"filters results"| node_wildutils

click node_actor "https://github.com/xclusivkhodes/full-stack-dev/blob/main/apify/grant-hunter-actor/src/main.js"
click node_input "https://github.com/xclusivkhodes/full-stack-dev/blob/main/apify/grant-hunter-actor/src/validate.js"
click node_sourceconfig "https://github.com/xclusivkhodes/full-stack-dev/blob/main/apify/grant-hunter-actor/src/config.js"
click node_govsource "https://github.com/xclusivkhodes/full-stack-dev/blob/main/apify/grant-hunter-actor/src/sources/government.js"
click node_normalize "https://github.com/xclusivkhodes/full-stack-dev/blob/main/apify/grant-hunter-actor/src/normalize.js"
click node_ai "https://github.com/xclusivkhodes/full-stack-dev/blob/main/apify/grant-hunter-actor/src/ai.js"
click node_httpserver "https://github.com/xclusivkhodes/full-stack-dev/blob/main/nodejs/lets-talk/server.js"
click node_routes "https://github.com/xclusivkhodes/full-stack-dev/blob/main/nodejs/lets-talk/handlers/routeHandlers.js"
click node_sightingdata "https://github.com/xclusivkhodes/full-stack-dev/blob/main/nodejs/lets-talk/utils/getData.js"
click node_bodyparser "https://github.com/xclusivkhodes/full-stack-dev/blob/main/nodejs/lets-talk/utils/parseJSONBody.js"
click node_sanitizer "https://github.com/xclusivkhodes/full-stack-dev/blob/main/nodejs/lets-talk/utils/sanitizeHtml.js"
click node_sightingwriter "https://github.com/xclusivkhodes/full-stack-dev/blob/main/nodejs/lets-talk/utils/addNewSighting.js"
click node_events "https://github.com/xclusivkhodes/full-stack-dev/blob/main/nodejs/lets-talk/events/sightingEvents.js"
click node_stories "https://github.com/xclusivkhodes/full-stack-dev/blob/main/nodejs/lets-talk/data/story.js"
click node_staticfiles "https://github.com/xclusivkhodes/full-stack-dev/blob/main/nodejs/lets-talk/utils/serveStatic.js"
click node_useroutes "https://github.com/xclusivkhodes/full-stack-dev/blob/main/threads/backend/routes/userRoutes.js"
click node_authcontroller "https://github.com/xclusivkhodes/full-stack-dev/blob/main/threads/backend/controller/authController.js"
click node_authmiddleware "https://github.com/xclusivkhodes/full-stack-dev/blob/main/threads/backend/middleware/isAuthenticated.js"
click node_usermodel "https://github.com/xclusivkhodes/full-stack-dev/blob/main/threads/backend/models/userModel.js"
click node_email "https://github.com/xclusivkhodes/full-stack-dev/blob/main/threads/backend/utils/email.js"
click node_memoriesapp "https://github.com/xclusivkhodes/full-stack-dev/blob/main/MERN/memories/client/src/App.jsx"
click node_posts "https://github.com/xclusivkhodes/full-stack-dev/blob/main/MERN/memories/client/src/components/Posts/Posts.jsx"
click node_postitem "https://github.com/xclusivkhodes/full-stack-dev/blob/main/MERN/memories/client/src/components/Posts/Post/Post.jsx"
click node_travelapp "https://github.com/xclusivkhodes/full-stack-dev/blob/main/react/travel_journal/App.jsx"
click node_travelentries "https://github.com/xclusivkhodes/full-stack-dev/blob/main/react/travel_journal/components/Entries.jsx"
click node_traveldata "https://github.com/xclusivkhodes/full-stack-dev/blob/main/react/travel_journal/data.js"
click node_counterapp "https://github.com/xclusivkhodes/full-stack-dev/blob/main/redux/counter-app/src/App.jsx"
click node_counterstore "https://github.com/xclusivkhodes/full-stack-dev/blob/main/redux/counter-app/src/store/index.js"
click node_wildserver "https://github.com/xclusivkhodes/full-stack-dev/blob/main/nodejs/wildhorizon/server.js"
click node_wilddb "https://github.com/xclusivkhodes/full-stack-dev/blob/main/nodejs/wildhorizon/db.js"
click node_wildutils "https://github.com/xclusivkhodes/full-stack-dev/blob/main/nodejs/wildhorizon/utils.js"

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_actor,node_input,node_sourceconfig,node_govsource,node_normalize,node_ai,node_dataset toneBlue
class node_sightingclient,node_httpserver,node_routes,node_sightingdata,node_bodyparser,node_sanitizer,node_sightingwriter,node_events,node_stories,node_staticfiles toneAmber
class node_authuser,node_useroutes,node_authcontroller,node_authmiddleware,node_usermodel,node_email toneMint
class node_memoriesapp,node_posts,node_postitem,node_travelapp,node_travelentries,node_traveldata,node_counterapp,node_counterstore toneRose
class node_wildserver,node_wilddb,node_wildutils toneIndigo
```

## Components

### Grant scraper

- [Actor runtime](https://github.com/xclusivkhodes/full-stack-dev/blob/main/apify/grant-hunter-actor/src/main.js): `apify/grant-hunter-actor/src/main.js`
- [Input validation](https://github.com/xclusivkhodes/full-stack-dev/blob/main/apify/grant-hunter-actor/src/validate.js): `apify/grant-hunter-actor/src/validate.js`
- [Source configuration](https://github.com/xclusivkhodes/full-stack-dev/blob/main/apify/grant-hunter-actor/src/config.js): `apify/grant-hunter-actor/src/config.js`
- [Government scraper](https://github.com/xclusivkhodes/full-stack-dev/blob/main/apify/grant-hunter-actor/src/sources/government.js): `apify/grant-hunter-actor/src/sources/government.js`
- [Result normalization](https://github.com/xclusivkhodes/full-stack-dev/blob/main/apify/grant-hunter-actor/src/normalize.js): `apify/grant-hunter-actor/src/normalize.js`
- [AI enrichment](https://github.com/xclusivkhodes/full-stack-dev/blob/main/apify/grant-hunter-actor/src/ai.js): `apify/grant-hunter-actor/src/ai.js`
- **Apify dataset**

### Sighting app

- **Sighting user**
- [HTTP server](https://github.com/xclusivkhodes/full-stack-dev/blob/main/nodejs/lets-talk/server.js): `nodejs/lets-talk/server.js`
- [Route handlers](https://github.com/xclusivkhodes/full-stack-dev/blob/main/nodejs/lets-talk/handlers/routeHandlers.js): `nodejs/lets-talk/handlers/routeHandlers.js`
- [Sighting data](https://github.com/xclusivkhodes/full-stack-dev/blob/main/nodejs/lets-talk/utils/getData.js): `nodejs/lets-talk/utils/getData.js`
- [Body parsing](https://github.com/xclusivkhodes/full-stack-dev/blob/main/nodejs/lets-talk/utils/parseJSONBody.js): `nodejs/lets-talk/utils/parseJSONBody.js`
- [Input sanitizing](https://github.com/xclusivkhodes/full-stack-dev/blob/main/nodejs/lets-talk/utils/sanitizeHtml.js): `nodejs/lets-talk/utils/sanitizeHtml.js`
- [Sighting writer](https://github.com/xclusivkhodes/full-stack-dev/blob/main/nodejs/lets-talk/utils/addNewSighting.js): `nodejs/lets-talk/utils/addNewSighting.js`
- [Sighting events](https://github.com/xclusivkhodes/full-stack-dev/blob/main/nodejs/lets-talk/events/sightingEvents.js): `nodejs/lets-talk/events/sightingEvents.js`
- [News stories](https://github.com/xclusivkhodes/full-stack-dev/blob/main/nodejs/lets-talk/data/story.js): `nodejs/lets-talk/data/story.js`
- [Static file serving](https://github.com/xclusivkhodes/full-stack-dev/blob/main/nodejs/lets-talk/utils/serveStatic.js): `nodejs/lets-talk/utils/serveStatic.js`

### Account auth

- **Account user**
- [User routes](https://github.com/xclusivkhodes/full-stack-dev/blob/main/threads/backend/routes/userRoutes.js): `threads/backend/routes/userRoutes.js`
- [Auth controller](https://github.com/xclusivkhodes/full-stack-dev/blob/main/threads/backend/controller/authController.js): `threads/backend/controller/authController.js`
- [Authentication middleware](https://github.com/xclusivkhodes/full-stack-dev/blob/main/threads/backend/middleware/isAuthenticated.js): `threads/backend/middleware/isAuthenticated.js`
- [User model](https://github.com/xclusivkhodes/full-stack-dev/blob/main/threads/backend/models/userModel.js): `threads/backend/models/userModel.js`
- [Email sender](https://github.com/xclusivkhodes/full-stack-dev/blob/main/threads/backend/utils/email.js): `threads/backend/utils/email.js`

### Frontend projects

- [Memories interface](https://github.com/xclusivkhodes/full-stack-dev/blob/main/MERN/memories/client/src/App.jsx): `MERN/memories/client/src/App.jsx`
- [Post listing](https://github.com/xclusivkhodes/full-stack-dev/blob/main/MERN/memories/client/src/components/Posts/Posts.jsx): `MERN/memories/client/src/components/Posts/Posts.jsx`
- [Post display](https://github.com/xclusivkhodes/full-stack-dev/blob/main/MERN/memories/client/src/components/Posts/Post/Post.jsx): `MERN/memories/client/src/components/Posts/Post/Post.jsx`
- [Travel journal](https://github.com/xclusivkhodes/full-stack-dev/blob/main/react/travel_journal/App.jsx): `react/travel_journal/App.jsx`
- [Travel entries](https://github.com/xclusivkhodes/full-stack-dev/blob/main/react/travel_journal/components/Entries.jsx): `react/travel_journal/components/Entries.jsx`
- [Journal data](https://github.com/xclusivkhodes/full-stack-dev/blob/main/react/travel_journal/data.js): `react/travel_journal/data.js`
- [Counter interface](https://github.com/xclusivkhodes/full-stack-dev/blob/main/redux/counter-app/src/App.jsx): `redux/counter-app/src/App.jsx`
- [Counter store](https://github.com/xclusivkhodes/full-stack-dev/blob/main/redux/counter-app/src/store/index.js): `redux/counter-app/src/store/index.js`

### Other runtimes

- [Destination API](https://github.com/xclusivkhodes/full-stack-dev/blob/main/nodejs/wildhorizon/server.js): `nodejs/wildhorizon/server.js`
- [Destination data access](https://github.com/xclusivkhodes/full-stack-dev/blob/main/nodejs/wildhorizon/db.js): `nodejs/wildhorizon/db.js`
- [Destination filters](https://github.com/xclusivkhodes/full-stack-dev/blob/main/nodejs/wildhorizon/utils.js): `nodejs/wildhorizon/utils.js`

## Connections

- Actor runtime → Input validation: validates input (evidence: `apify/grant-hunter-actor/src/main.js`)
- Actor runtime → Source configuration: reads sources (evidence: `apify/grant-hunter-actor/src/main.js`)
- Actor runtime → Government scraper: scrapes (evidence: `apify/grant-hunter-actor/src/main.js`)
- Actor runtime → Result normalization: normalizes results (evidence: `apify/grant-hunter-actor/src/main.js`)
- Actor runtime → AI enrichment: optionally enriches (evidence: `apify/grant-hunter-actor/src/main.js`)
- Actor runtime → Apify dataset: pushes results (evidence: `apify/grant-hunter-actor/src/main.js`)
- Sighting user → HTTP server: sends requests
- HTTP server → Route handlers: dispatches API (evidence: `nodejs/lets-talk/server.js`)
- HTTP server → Static file serving: serves files (evidence: `nodejs/lets-talk/server.js`)
- Route handlers → Sighting data: reads data (evidence: `nodejs/lets-talk/handlers/routeHandlers.js`)
- Route handlers → Body parsing: parses body (evidence: `nodejs/lets-talk/handlers/routeHandlers.js`)
- Route handlers → Input sanitizing: sanitizes input (evidence: `nodejs/lets-talk/handlers/routeHandlers.js`)
- Route handlers → Sighting writer: adds sighting (evidence: `nodejs/lets-talk/handlers/routeHandlers.js`)
- Route handlers → Sighting events: emits event (evidence: `nodejs/lets-talk/handlers/routeHandlers.js`)
- Route handlers → News stories: streams stories (evidence: `nodejs/lets-talk/handlers/routeHandlers.js`)
- User routes → Auth controller: routes signup (evidence: `threads/backend/routes/userRoutes.js`)
- User routes → Authentication middleware: guards verification (evidence: `threads/backend/routes/userRoutes.js`)
- Auth controller → User model: manages users (evidence: `threads/backend/controller/authController.js`)
- Auth controller → Email sender: sends verification (evidence: `threads/backend/controller/authController.js`)
- Account user → User routes: submits account requests
- Memories interface → Post listing: renders posts (evidence: `MERN/memories/client/src/App.jsx`)
- Post listing → Post display: renders items (evidence: `MERN/memories/client/src/components/Posts/Posts.jsx`)
- Travel journal → Travel entries: renders entries (evidence: `react/travel_journal/App.jsx`)
- Travel journal → Journal data: maps journal data (evidence: `react/travel_journal/App.jsx`)
- Counter interface → Counter store: dispatches actions (evidence: `redux/counter-app/src/App.jsx`)
- Destination API → Destination data access: loads destinations (evidence: `nodejs/wildhorizon/server.js`)
- Destination API → Destination filters: filters results (evidence: `nodejs/wildhorizon/server.js`)
