Skip to content

Latest commit

 

History

History
92 lines (72 loc) · 3.65 KB

File metadata and controls

92 lines (72 loc) · 3.65 KB

📚 nodejs-course

A full Node.js course — from JavaScript fundamentals to Node core, Express, databases, and production practices.

Built from the material I taught as an IT lecturer at Cao Thắng Technical College (Trường Cao đẳng Kỹ thuật Cao Thắng).

license node lessons topics status


How this course is organised

  • lessons/ — the structured curriculum for beginners. Start here and go in order. Each lesson covers one concept with notes, a runnable example, and an exercise.
  • topics/ — deeper dives into specific areas (JS internals, Node modules, Express, databases, DevOps). Reference these once you're comfortable with the basics.

Curriculum (lessons/)

Part 1 — Getting started

  1. Setting up Node.js
  2. Your first program
  3. Running code & the REPL
  4. Comments
  5. Syntax: statements & semicolons
  6. Naming conventions

Part 2 — Values & types

  1. Variables: let, const, var
  2. Data types
  3. Strings
  4. Numbers
  5. Booleans & truthiness
  6. null vs undefined
  7. Type conversion

Part 3 — Operators & control flow

  1. Arithmetic operators
  2. Comparison operators
  3. Logical operators
  4. if / else
  5. switch
  6. Ternary operator
  7. while & do-while
  8. for loops

Part 4 — Functions & scope

  1. Functions
  2. Function expressions vs declarations
  3. Arrow functions
  4. Function parameters
  5. Scope

Part 5 — Data structures

  1. Arrays
  2. Iterating arrays
  3. Objects

Part 6 — Async & Node basics

  1. Callbacks
  2. Input & output
  3. Modules: require & exports
  4. Command-line arguments
  5. Environment variables
  6. Error handling basics

Deep-dive topics (topics/)

JavaScript internals (hoisting, closures, prototypes, the event loop…), Node core modules (streams, fs, crypto, worker threads…), Express (middleware, auth, validation…), databases (Postgres, Mongo, Redis…), and production concerns (Docker, CI, profiling, security). See the topics/ directory.

Running examples

node lessons/01-setup-node/examples/check-version.js

About

Authored and maintained by Lê Đức Minh, IT lecturer at Cao Thắng Technical College. These materials were used to teach Node.js and backend web development to my students. Feedback and pull requests are welcome.

License

Released under the MIT License — © Lê Đức Minh