# mohitdjcet/typescript-tutorial architecture

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

- Interactive diagram: https://gitdiagram.com/mohitdjcet/typescript-tutorial
- Repository: https://github.com/mohitdjcet/typescript-tutorial

## Overview

This is a tiny greeting example, not a larger application: both files independently define “Hello World” and print it to the console. No shared runtime flow or other product subsystems are shown; the excerpts provide evidence for each output edge.

Main entry points: [`app.js`](https://github.com/mohitdjcet/typescript-tutorial/blob/main/app.js) (JavaScript greeting), [`app.ts`](https://github.com/mohitdjcet/typescript-tutorial/blob/main/app.ts) (TypeScript greeting)

## Diagram (Mermaid)

```mermaid
flowchart TD

node_js_example["JavaScript greeting<br/>[app.js]"]
node_ts_example["TypeScript greeting<br/>[app.ts]"]
node_console["Console output"]

node_js_example -->|"prints greeting"| node_console
node_ts_example -->|"prints greeting"| node_console

click node_js_example "https://github.com/mohitdjcet/typescript-tutorial/blob/main/app.js"
click node_ts_example "https://github.com/mohitdjcet/typescript-tutorial/blob/main/app.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_js_example,node_ts_example toneTeal
class node_console toneIndigo
```

## Components

### Other components

- [JavaScript greeting](https://github.com/mohitdjcet/typescript-tutorial/blob/main/app.js): `app.js`
- [TypeScript greeting](https://github.com/mohitdjcet/typescript-tutorial/blob/main/app.ts): `app.ts`
- **Console output**

## Connections

- JavaScript greeting → Console output: prints greeting (evidence: `app.js`)
- TypeScript greeting → Console output: prints greeting (evidence: `app.ts`)
