# sk1pp3r700/ict-yep architecture

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

- Interactive diagram: https://gitdiagram.com/sk1pp3r700/ict-yep
- Repository: https://github.com/sk1pp3r700/ict-yep

## Overview

This repository is a collection of weekly JavaScript learning exercises rather than one integrated product. Its examples progress from browser and language basics through Node.js file and HTTP operations, asynchronous examples, and small Express apps, including a later user/auth API. The graph preserves those distinct learning areas; it does not imply they form one runtime. Several files were not excerpted, so their roles are represented from their paths, without inferred call relationships.

Main entry points: [`WEEK-8/routes/userRoutes.js`](https://github.com/sk1pp3r700/ict-yep/blob/main/WEEK-8/routes/userRoutes.js) (User Routes), [`WEEK-8/controllers/authController.js`](https://github.com/sk1pp3r700/ict-yep/blob/main/WEEK-8/controllers/authController.js) (Auth Controller), [`WEEK-5/index.js`](https://github.com/sk1pp3r700/ict-yep/blob/main/WEEK-5/index.js) (Import Example), [`WEEK-8/index.js`](https://github.com/sk1pp3r700/ict-yep/blob/main/WEEK-8/index.js) (API Server)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_web["Browser Basics"]
  node_week1page["Starter Page<br/>[index.html]"]
  node_week1style["Page Styles<br/>[style.css]"]
end

subgraph group_language["Language Exercises"]
  node_week2basics["Basic Examples<br/>[app.js]"]
  node_week2arrays["Array Exercises<br/>[array.js]"]
  node_week2functions["Function Examples<br/>[function.js]"]
  node_week2loops["Loop Examples<br/>[loops.js]"]
  node_week2tasks["Practice Tasks<br/>[task.js]"]
end

subgraph group_node["Node.js Exercises"]
  node_week4files["File Operations<br/>[read.js]"]
  node_week4write["Write Examples<br/>[write.js]"]
  node_week4readwrite["Read-Write Example<br/>[readwrite.js]"]
  node_week4folder["Folder Example<br/>[makefolder.js]"]
  node_week4server["HTTP Server<br/>[server.js]"]
  node_week4js["Node Example<br/>[index.js]"]
  node_week4ts["TypeScript Example<br/>[index.ts]"]
end

subgraph group_async["Async Examples"]
  node_week5async["Promise Example<br/>[promise.js]"]
  node_week5timer["Timer Example<br/>[setTIMER.js]"]
  node_week5apps["HTTP Module Example<br/>[apps.js]"]
  node_week5index["Import Example<br/>[index.js]"]
end

subgraph group_apps["Express Applications"]
  node_week6app["Express Routes<br/>[index.js]"]
  node_week8app["API Server<br/>[index.js]"]
  node_week8routes["User Routes<br/>[userRoutes.js]"]
  node_week8auth["Auth Controller<br/>[authController.js]"]
  node_week8model[("User Model<br/>[userModel.js]")]
  node_week8db["DB Configuration<br/>[db.js]"]
end

node_learner(("Learner"))
node_mongo[("MongoDB")]

node_learner -.->|"views"| node_week1page
node_week5index -->|"requires"| node_week5apps
node_week8app -->|"mounts routes"| node_week8routes
node_week8routes -->|"dispatches"| node_week8auth
node_week8auth -->|"creates user"| node_week8model
node_week8db -->|"connects"| node_mongo

click node_week1page "https://github.com/sk1pp3r700/ict-yep/blob/main/WEEK-1/index.html"
click node_week1style "https://github.com/sk1pp3r700/ict-yep/blob/main/WEEK-1/style.css"
click node_week2basics "https://github.com/sk1pp3r700/ict-yep/blob/main/WEEK-2/app.js"
click node_week2arrays "https://github.com/sk1pp3r700/ict-yep/blob/main/WEEK-2/array.js"
click node_week2functions "https://github.com/sk1pp3r700/ict-yep/blob/main/WEEK-2/function.js"
click node_week2loops "https://github.com/sk1pp3r700/ict-yep/blob/main/WEEK-2/loops.js"
click node_week2tasks "https://github.com/sk1pp3r700/ict-yep/blob/main/WEEK-2/task.js"
click node_week4files "https://github.com/sk1pp3r700/ict-yep/blob/main/WEEK-4/read.js"
click node_week4write "https://github.com/sk1pp3r700/ict-yep/blob/main/WEEK-4/write.js"
click node_week4readwrite "https://github.com/sk1pp3r700/ict-yep/blob/main/WEEK-4/readwrite.js"
click node_week4folder "https://github.com/sk1pp3r700/ict-yep/blob/main/WEEK-4/makefolder.js"
click node_week4server "https://github.com/sk1pp3r700/ict-yep/blob/main/WEEK-4/server.js"
click node_week4js "https://github.com/sk1pp3r700/ict-yep/blob/main/WEEK-4/index.js"
click node_week4ts "https://github.com/sk1pp3r700/ict-yep/blob/main/WEEK-4/index.ts"
click node_week5async "https://github.com/sk1pp3r700/ict-yep/blob/main/WEEK-5/promise.js"
click node_week5timer "https://github.com/sk1pp3r700/ict-yep/blob/main/WEEK-5/setTIMER.js"
click node_week5apps "https://github.com/sk1pp3r700/ict-yep/blob/main/WEEK-5/apps.js"
click node_week5index "https://github.com/sk1pp3r700/ict-yep/blob/main/WEEK-5/index.js"
click node_week6app "https://github.com/sk1pp3r700/ict-yep/blob/main/WEEK-6/index.js"
click node_week8app "https://github.com/sk1pp3r700/ict-yep/blob/main/WEEK-8/index.js"
click node_week8routes "https://github.com/sk1pp3r700/ict-yep/blob/main/WEEK-8/routes/userRoutes.js"
click node_week8auth "https://github.com/sk1pp3r700/ict-yep/blob/main/WEEK-8/controllers/authController.js"
click node_week8model "https://github.com/sk1pp3r700/ict-yep/blob/main/WEEK-8/models/userModel.js"
click node_week8db "https://github.com/sk1pp3r700/ict-yep/blob/main/WEEK-8/config/db.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_week1page,node_week1style toneBlue
class node_week2basics,node_week2arrays,node_week2functions,node_week2loops,node_week2tasks,node_mongo toneAmber
class node_week4files,node_week4write,node_week4readwrite,node_week4folder,node_week4server,node_week4js,node_week4ts toneMint
class node_week5async,node_week5timer,node_week5apps,node_week5index toneRose
class node_week6app,node_week8app,node_week8routes,node_week8auth,node_week8model,node_week8db,node_learner toneIndigo
```

## Components

### Browser Basics

- [Starter Page](https://github.com/sk1pp3r700/ict-yep/blob/main/WEEK-1/index.html): `WEEK-1/index.html`
- [Page Styles](https://github.com/sk1pp3r700/ict-yep/blob/main/WEEK-1/style.css): `WEEK-1/style.css`

### Language Exercises

- [Basic Examples](https://github.com/sk1pp3r700/ict-yep/blob/main/WEEK-2/app.js): `WEEK-2/app.js`
- [Array Exercises](https://github.com/sk1pp3r700/ict-yep/blob/main/WEEK-2/array.js): `WEEK-2/array.js`
- [Function Examples](https://github.com/sk1pp3r700/ict-yep/blob/main/WEEK-2/function.js): `WEEK-2/function.js`
- [Loop Examples](https://github.com/sk1pp3r700/ict-yep/blob/main/WEEK-2/loops.js): `WEEK-2/loops.js`
- [Practice Tasks](https://github.com/sk1pp3r700/ict-yep/blob/main/WEEK-2/task.js): `WEEK-2/task.js`

### Node.js Exercises

- [File Operations](https://github.com/sk1pp3r700/ict-yep/blob/main/WEEK-4/read.js): `WEEK-4/read.js`
- [Write Examples](https://github.com/sk1pp3r700/ict-yep/blob/main/WEEK-4/write.js): `WEEK-4/write.js`
- [Read-Write Example](https://github.com/sk1pp3r700/ict-yep/blob/main/WEEK-4/readwrite.js): `WEEK-4/readwrite.js`
- [Folder Example](https://github.com/sk1pp3r700/ict-yep/blob/main/WEEK-4/makefolder.js): `WEEK-4/makefolder.js`
- [HTTP Server](https://github.com/sk1pp3r700/ict-yep/blob/main/WEEK-4/server.js): `WEEK-4/server.js`
- [Node Example](https://github.com/sk1pp3r700/ict-yep/blob/main/WEEK-4/index.js): `WEEK-4/index.js`
- [TypeScript Example](https://github.com/sk1pp3r700/ict-yep/blob/main/WEEK-4/index.ts): `WEEK-4/index.ts`

### Async Examples

- [Promise Example](https://github.com/sk1pp3r700/ict-yep/blob/main/WEEK-5/promise.js): `WEEK-5/promise.js`
- [Timer Example](https://github.com/sk1pp3r700/ict-yep/blob/main/WEEK-5/setTIMER.js): `WEEK-5/setTIMER.js`
- [HTTP Module Example](https://github.com/sk1pp3r700/ict-yep/blob/main/WEEK-5/apps.js): `WEEK-5/apps.js`
- [Import Example](https://github.com/sk1pp3r700/ict-yep/blob/main/WEEK-5/index.js): `WEEK-5/index.js`

### Express Applications

- [Express Routes](https://github.com/sk1pp3r700/ict-yep/blob/main/WEEK-6/index.js): `WEEK-6/index.js`
- [API Server](https://github.com/sk1pp3r700/ict-yep/blob/main/WEEK-8/index.js): `WEEK-8/index.js`
- [User Routes](https://github.com/sk1pp3r700/ict-yep/blob/main/WEEK-8/routes/userRoutes.js): `WEEK-8/routes/userRoutes.js`
- [Auth Controller](https://github.com/sk1pp3r700/ict-yep/blob/main/WEEK-8/controllers/authController.js): `WEEK-8/controllers/authController.js`
- [User Model](https://github.com/sk1pp3r700/ict-yep/blob/main/WEEK-8/models/userModel.js): `WEEK-8/models/userModel.js`
- [DB Configuration](https://github.com/sk1pp3r700/ict-yep/blob/main/WEEK-8/config/db.js): `WEEK-8/config/db.js`

### Other components

- **Learner**
- **MongoDB**

## Connections

- Learner → Starter Page: views
- Import Example → HTTP Module Example: requires (evidence: `WEEK-5/index.js`)
- API Server → User Routes: mounts routes (evidence: `WEEK-8/index.js`)
- User Routes → Auth Controller: dispatches (evidence: `WEEK-8/routes/userRoutes.js`)
- Auth Controller → User Model: creates user (evidence: `WEEK-8/controllers/authController.js`)
- DB Configuration → MongoDB: connects (evidence: `WEEK-8/config/db.js`)
