Node.js
The runtime behind most JavaScript backends, from the event loop up.
Module 1
Introduction to Node.js
- 1.1Learn the language first
- 1.2What is Node.jsSoon
- 1.3Why use Node.jsMust knowSoon
- 1.4History of Node.jsOptionalSoon
- 1.5Node.js vs the browserSoon
- 1.6Running Node.js codeSoon
- 1.7Releases and LTS versionsSoon
- 1.8Version managersMust know
- 1.9Running TypeScript nativelyOptionalSoon
Module 2
Modules
- 2.1Creating and importing modulesSoon
- 2.2Module systems
- 2.3The global objectMust knowSoon
Module 3
npm and packages
- 3.1npmSoon
- 3.2Semantic versioningSoon
- 3.3Local installationSoon
- 3.4Global installationSoon
- 3.5Installing packagesSoon
- 3.6Updating packagesSoon
- 3.7Running scriptsSoon
- 3.8node --runOptionalSoon
- 3.9npxSoon
- 3.10Creating packagesMust knowSoon
- 3.11npm workspacesOptionalSoon
- 3.12Other package managersOptional
Module 4
Error handling
- 4.1JavaScript errorsSoon
- 4.2System errorsSoon
- 4.3User-specified errorsSoon
- 4.4Assertion errorsMust knowSoon
- 4.5Uncaught exceptionsSoon
- 4.6Handling async errorsSoon
- 4.7Call stack and stack tracesSoon
- 4.8Using the debuggerMust knowSoon
Module 5
Async programming
- 5.1Event loop
- 5.2CallbacksSoon
- 5.3PromisesSoon
- 5.4async/awaitSoon
- 5.5Event EmitterSoon
- 5.6setTimeout and setIntervalSoon
- 5.7setImmediateMust knowSoon
- 5.8process.nextTickMust knowSoon
Module 6
Working with files
- 6.1Buffers and binary dataSoon
- 6.2The fs moduleSoon
- 6.3The path moduleSoon
- 6.4__dirname and __filenameSoon
- 6.5process.cwd()Soon
- 6.6glob and globbyOptionalSoon
- 6.7fs-extraOptionalSoon
- 6.8chokidarOptionalSoon
Module 7
Command line apps
- 7.1Environment variables: process.envSoon
- 7.2dotenvOptionalSoon
- 7.3--env-file and process.loadEnvFileMust knowSoon
- 7.4Command line args: process.argvSoon
- 7.5commanderMust knowSoon
- 7.6util.parseArgsMust knowSoon
- 7.7Taking input: process.stdinSoon
- 7.8Interactive promptsOptional
- 7.9Printing output: stdout and stderrSoon
- 7.10chalkOptionalSoon
- 7.11figletOptionalSoon
- 7.12cli-progressOptionalSoon
- 7.13Exiting and exit codesSoon
Module 8
Building and consuming APIs
- 8.1The http moduleSoon
- 8.2Frameworks
- 8.3Input validation: ZodMust knowSoon
- 8.4API security: helmet, rate limiting and CORSMust knowSoon
- 8.5Making API calls
- 8.6Authentication
- 8.7WebSocketsMust know
- 8.8Monitoring changes in development
- 8.9Template enginesOptional
Module 9
Working with databases
- 9.1Relational databases
- 9.2NoSQL databases
- 9.3node:sqliteOptionalSoon
Module 10
Testing and logging
- 10.1Unit and integration testing
- 10.2End-to-end testingMust know
- 10.3Logging
Module 11
Running in production
- 11.1Keeping the app running: pm2Soon
- 11.2StreamsSoon
- 11.3Common built-in modulesSoon
- 11.4Child processMust knowSoon
- 11.5ClusterOptionalSoon
- 11.6Worker threadsMust knowSoon
- 11.7Graceful shutdownMust knowSoon
- 11.8The permission modelOptionalSoon
Module 12
Debugging
- 12.1node --inspectSoon
- 12.2Garbage collectionMust knowSoon
- 12.3Memory leaksMust knowSoon
- 12.4Using an APMOptionalSoon
- 12.5OpenTelemetryMust knowSoon
Module 13
Keep going
- 13.1Where to go next