TUTORIAL
NodeJS
🧱 Phần 1: Kiến thức nền tảng (Fundamentals) 1. Giới thiệu về Node.js • Mô hình single-threaded non-blocking • V8 Engine, Event Loop, Call Stack • Cài đặt Node.js, chạy file .mjs, .ts 2. Modules & Package Manager • ECMAScript Modules (import/export) • Built-in Modules (fs, path, events, http) • npm/yarn/pnpm, semantic versioning, npx 3. Asynchronous Programming • Callback, Promise, Async/Await • Error handling: try/catch, Promise.allSettled 4. File System & Streams • Read/write file, create server • Streams: readable/writable, pipe, zlib compression
- BASIC
- Vietnam
What Can You Build With Node.js? sss
What Can You Build With Node.js?
Node.js uses an event-driven, non-blocking model.
It can handle many connections at once without waiting for one to finish before starting another.
This makes it great for real-time apps and high-traffic websites.
Here are some examples of what you can build with Node.js:
- Web servers and websites
- REST APIs
- Real-time apps (like chat)
- Command-line tools
- Working with files and databases
- IoT and hardware control