Node.js

The runtime behind most JavaScript backends, from the event loop up.

  • 13 modules
  • 90 lessons
  • 0 projects

Start the courseSee the roadmap

  1. Module 1

    Introduction to Node.js

    1. 1.1Learn the language first
    2. 1.2What is Node.jsSoon
    3. 1.3Why use Node.jsMust knowSoon
    4. 1.4History of Node.jsOptionalSoon
    5. 1.5Node.js vs the browserSoon
    6. 1.6Running Node.js codeSoon
    7. 1.7Releases and LTS versionsSoon
    8. 1.8Version managersMust know
      • fnmSoon
      • nvmSoon
      • VoltaSoon
    9. 1.9Running TypeScript nativelyOptionalSoon
  2. Module 2

    Modules

    1. 2.1Creating and importing modulesSoon
    2. 2.2Module systems
      • ESMSoon
      • CommonJSSoon
    3. 2.3The global objectMust knowSoon
  3. Module 3

    npm and packages

    1. 3.1npmSoon
    2. 3.2Semantic versioningSoon
    3. 3.3Local installationSoon
    4. 3.4Global installationSoon
    5. 3.5Installing packagesSoon
    6. 3.6Updating packagesSoon
    7. 3.7Running scriptsSoon
    8. 3.8node --runOptionalSoon
    9. 3.9npxSoon
    10. 3.10Creating packagesMust knowSoon
    11. 3.11npm workspacesOptionalSoon
    12. 3.12Other package managersOptional
      • pnpmSoon
      • YarnSoon
  4. Module 4

    Error handling

    1. 4.1JavaScript errorsSoon
    2. 4.2System errorsSoon
    3. 4.3User-specified errorsSoon
    4. 4.4Assertion errorsMust knowSoon
    5. 4.5Uncaught exceptionsSoon
    6. 4.6Handling async errorsSoon
    7. 4.7Call stack and stack tracesSoon
    8. 4.8Using the debuggerMust knowSoon
  5. Module 5

    Async programming

    1. 5.1Event loop
    2. 5.2CallbacksSoon
    3. 5.3PromisesSoon
    4. 5.4async/awaitSoon
    5. 5.5Event EmitterSoon
    6. 5.6setTimeout and setIntervalSoon
    7. 5.7setImmediateMust knowSoon
    8. 5.8process.nextTickMust knowSoon
  6. Module 6

    Working with files

    1. 6.1Buffers and binary dataSoon
    2. 6.2The fs moduleSoon
    3. 6.3The path moduleSoon
    4. 6.4__dirname and __filenameSoon
    5. 6.5process.cwd()Soon
    6. 6.6glob and globbyOptionalSoon
    7. 6.7fs-extraOptionalSoon
    8. 6.8chokidarOptionalSoon
  7. Module 7

    Command line apps

    1. 7.1Environment variables: process.envSoon
    2. 7.2dotenvOptionalSoon
    3. 7.3--env-file and process.loadEnvFileMust knowSoon
    4. 7.4Command line args: process.argvSoon
    5. 7.5commanderMust knowSoon
    6. 7.6util.parseArgsMust knowSoon
    7. 7.7Taking input: process.stdinSoon
    8. 7.8Interactive promptsOptional
      • InquirerSoon
      • promptsSoon
    9. 7.9Printing output: stdout and stderrSoon
    10. 7.10chalkOptionalSoon
    11. 7.11figletOptionalSoon
    12. 7.12cli-progressOptionalSoon
    13. 7.13Exiting and exit codesSoon
  8. Module 8

    Building and consuming APIs

    1. 8.1The http moduleSoon
    2. 8.2Frameworks
      • Express.jsSoon
      • FastifySoon
      • NestJSSoon
      • HonoSoon
    3. 8.3Input validation: ZodMust knowSoon
    4. 8.4API security: helmet, rate limiting and CORSMust knowSoon
    5. 8.5Making API calls
      • fetchSoon
      • axiosSoon
      • kySoon
      • gotSoon
    6. 8.6Authentication
      • jsonwebtokenSoon
      • Passport.jsSoon
    7. 8.7WebSocketsMust know
      • wsSoon
      • Socket.IOSoon
    8. 8.8Monitoring changes in development
      • --watchSoon
      • nodemonSoon
    9. 8.9Template enginesOptional
      • EJSSoon
      • PugSoon
      • MarkoSoon
  9. Module 9

    Working with databases

    1. 9.1Relational databases
      • Native driversSoon
      • PrismaSoon
      • DrizzleSoon
      • KnexSoon
      • SequelizeSoon
      • TypeORMSoon
    2. 9.2NoSQL databases
      • Native driversSoon
      • MongooseSoon
    3. 9.3node:sqliteOptionalSoon
  10. Module 10

    Testing and logging

    1. 10.1Unit and integration testing
      • VitestSoon
      • node:testSoon
      • JestSoon
    2. 10.2End-to-end testingMust know
      • PlaywrightSoon
      • CypressSoon
    3. 10.3Logging
      • PinoSoon
      • WinstonSoon
      • MorganSoon
  11. Module 11

    Running in production

    1. 11.1Keeping the app running: pm2Soon
    2. 11.2StreamsSoon
    3. 11.3Common built-in modulesSoon
    4. 11.4Child processMust knowSoon
    5. 11.5ClusterOptionalSoon
    6. 11.6Worker threadsMust knowSoon
    7. 11.7Graceful shutdownMust knowSoon
    8. 11.8The permission modelOptionalSoon
  12. Module 12

    Debugging

    1. 12.1node --inspectSoon
    2. 12.2Garbage collectionMust knowSoon
    3. 12.3Memory leaksMust knowSoon
    4. 12.4Using an APMOptionalSoon
    5. 12.5OpenTelemetryMust knowSoon
  13. Module 13

    Keep going

    1. 13.1Where to go next