Node.js Tutorial
Course Contents
Node.js Tutorial
Node.js Modules
Node.js npm
- Node.js npm
- The package.json File
- Installing and Managing Packages
- Semantic Versioning and package-lock.json
- npm Scripts
- npx and Global Packages
Node.js Globals
Node.js Asynchronous
- Asynchronous Programming in Node.js
- Callbacks and the Error-First Pattern
- Promises in Node.js
- async and await
- The Event Loop in Depth
- process.nextTick and Microtasks
- util.promisify and Callback Interop
Node.js Events
Node.js File System
- Node.js File System (fs)
- Reading Files
- Writing and Appending Files
- The fs Promises API
- Working with Directories
- File Stats and Permissions
- Watching Files for Changes
Node.js Streams and Buffers
- The path Module
- The os Module
- The url Module and URL API
- Node.js Buffers
- Readable and Writable Streams
- Pipes and Transform Streams
Node.js HTTP
- The Node.js HTTP Module
- Creating a Web Server
- Handling Requests and Routes
- Request and Response Objects
- Serving Static Files
- Making HTTP Requests with fetch
- Working with JSON APIs
Node.js Express
- Express Introduction
- Express Routing
- Express Middleware
- Parsing Request Bodies and Queries
- Express Error Handling
- Building a REST API
- Express Router and Project Structure
- Static Files and Templates in Express
Node.js Databases
Node.js Security
- Node.js Security Basics
- Password Hashing with bcrypt
- Authentication with JWT
- Sessions and Cookies
- Input Validation and Sanitization
Node.js Errors and Testing
- Error Handling in Node.js
- Custom Error Classes
- Debugging Node.js
- Testing with the Built-in Test Runner
- Logging in Node.js
- Uncaught Exceptions and Graceful Shutdown
Node.js Advanced
- Child Processes
- The Cluster Module
- Worker Threads
- Performance and Profiling
- Memory Management and Garbage Collection
- The Crypto Module
