All Courses
beginner Node.js

Node.js: Build Your First Server & CLI

Master Node.js from scratch — build your first server & cli.

48 lessons 29 available ~113 min total
Start the course

What you'll learn

By the end you can confidently apply Node.js at a beginner level: build your first server & cli, with real, working code.

Who it's for

Developers learning Node.js at a beginner level.

Prerequisites

JavaScript fundamentals.

A structured, hands-on beginner course on Node.js, taking you from scratch by building a REST API with Express and a database.

Curriculum

  1. 1

    Understanding the Node.js Architecture

    4 min
  2. 2

    Setting Up Your Environment with NVM

    4 min
  3. 3

    The REPL and Running Scripts

    4 min
  4. 4

    Initializing Projects with NPM

    4 min
  5. 5

    Managing Dependencies

    4 min
  6. 6

    Introduction to Modules

    4 min
  7. 7

    CommonJS vs ES Modules

    4 min
  8. 8

    Working with Path Module

    4 min
  9. 9

    Synchronous File I/O

    4 min
  10. 10

    Asynchronous File I/O

    3 min
  11. 11

    The OS and Process Modules

    4 min
  12. 12

    Handling CLI Arguments

    4 min
  13. 13

    Introduction to CLI Tooling

    4 min
  14. 14

    Interactive CLI Prompts

    4 min
  15. 15

    Building a File Management CLI

    4 min
  16. 16

    The HTTP Request-Response Cycle

    4 min
  17. 17

    Initializing Express.js

    4 min
  18. 18

    Routing in Express

    4 min
  19. 19

    Handling HTTP Methods

    4 min
  20. 20

    Understanding Middleware

    3 min
  21. 21

    Request Body Parsing

    4 min
  22. 22

    JSON Responses

    4 min
  23. 23

    Introduction to Databases

    4 min
  24. 24

    Connecting to MongoDB with Mongoose

    3 min
  25. 25

    Defining Data Schemas

    4 min
  26. 26

    Implementing Create Operations

    4 min
  27. 27

    RESTful API Patterns

    4 min
  28. 28

    Advanced Error Handling

    4 min
  29. 29

    Organizing Project Structure

    4 min
  30. 30

    Environment Variables

    Coming soon
  31. 31

    Testing with Postman

    Coming soon
  32. 32

    API Documentation Basics

    Coming soon
  33. 33

    Implementing Input Validation

    Coming soon
  34. 34

    Adding Logging

    Coming soon
  35. 35

    CORS Configuration

    Coming soon
  36. 36

    Working with Query Parameters

    Coming soon
  37. 37

    Advanced Mongoose Queries

    Coming soon
  38. 38

    Security Basics for APIs

    Coming soon
  39. 39

    Deployment Preparation

    Coming soon
  40. 40

    Deploying to Render

    Coming soon
  41. 41

    Monitoring Deployed APIs

    Coming soon
  42. 42

    Integrating External APIs

    Coming soon
  43. 43

    Asynchronous Patterns (Promises)

    Coming soon
  44. 44

    Handling File Uploads

    Coming soon
  45. 45

    Database Seeding

    Coming soon
  46. 46

    Data Transformation

    Coming soon
  47. 47

    Handling Timeouts and Retries

    Coming soon
  48. 48

    Global Error Handler Refinement

    Coming soon