Skip to content

Latest commit

 

History

History
67 lines (50 loc) · 2.78 KB

File metadata and controls

67 lines (50 loc) · 2.78 KB

Node.js & TypeScript Learning Repository

This repository documents my structured learning journey through JavaScript, TypeScript, and Node.js backend development. It contains annotated code examples organised by topic — from JS fundamentals to building a production-ready Express + TypeScript server template.

Notes & Documentation

Detailed notes for each module are available in my Notion workspace. Click the badge above for explanations, diagrams, and additional resources.


Tech Stack

JavaScript TypeScript Node.js Express.js

Repository Structure

📂 JavaScript Code Snippets/     — Quick-reference snippets (closures, promises, async, etc.)
📂 Module_01-JavaScript Basics/  — Types, variables, operators, loops, functions
📂 Module_02-JavaScript Intermediate/ — Coercion, scoping, hoisting, boxing, equality
📂 Module_03-JavaScript Advance/ — Closures, HOFs, callbacks, promises, generators, async/await
📂 Module_04-HTTP Servers/
    ├── 01-Plain REST API/        — Vanilla Node.js HTTP server
    ├── 02-Express Server/        — Basic Express.js setup
    └── 03-Express TypeScript Template/ — Production-ready Express + TS template
                                          (Winston logging, Zod validation, correlation IDs,
                                           structured error handling, graceful shutdown)
📂 Module_05-TypeScript Basics/  — Types, unions, arrays, interfaces, functions, enums
📂 Module_06-TypeScript Intermediate/ — Narrowing, never/unknown, classes, objects, mapped types

Getting Started

Each module contains standalone examples that can be run independently.

# For plain JS files
node filename.js

# For the Express TypeScript Template
cd "Module_04-HTTP Servers/03-Express TypeScript Template"
npm install
npm run dev       # development (nodemon + ts-node)
npm run build     # compile to dist/
npm start         # run compiled output

Built by vivekanand-vr