Learn Node.js
A free, interactive Node.js course for JavaScript programmers. Write programs and servers, press Run and use them beside the editor: a terminal for your programs, a request bar for your APIs, with AI hints and a certificate per section.
1,000+ codders enrolled
114 lessons114 challenges250 quiz questions
- Beginner friendly
AI-assisted coding help
Hands-on interactive lessons
Audio narration on every lesson
Quizzes to test your knowledge
Free certificate of completion
Syllabus
Section 1
Node.js Basics
Start sectionStartRun JavaScript outside the browser: modules, files, the command line, events, and async code with promises and await. You build a command-line notes tool.Running JavaScript on Node
Project5 lessons58Modules
Project4 lessons48Files
Project4 lessons48Asynchronous Node
Project6 lessons612Events, Input and Packages
Project3 lessons38Section 2
Express Basics
Start sectionStartBuild a web server with Express: routes, parameters, JSON, static files, middleware and routers. You build a recipe site and its API.Your First Server
Project5 lessons59Responses
Project5 lessons59Middleware
Project5 lessons512Routers and Async Code
Project3 lessons39Project: Recipe of the Day
Project2 lessons2Section 3
REST APIs
Start sectionStartDesign a JSON API the way teams do: resources, status codes, validation with zod, clear errors, pagination, and a page that calls it with fetch. You build a task tracker API.Resources and Verbs
Project5 lessons515Validation and Errors
Project4 lessons410Lists
Project3 lessons310Browsers, Versions and Config
Project4 lessons410Section 4
Databases with MongoDB
Start sectionStartStore data in MongoDB: documents, queries, updates, unique indexes, aggregation and joins, from an Express API. You build a bookshelf API.Documents
Project5 lessons514Changing Documents
Project5 lessons510Aggregation
Project4 lessons410Structure
Project4 lessons410Section 5
Auth and Security
Start sectionStartSign up and log in with hashed passwords, sessions and JWT, protect routes, and keep each user's data their own. You build a private notes API.Passwords
Project3 lessons39Sessions and Cookies
Project5 lessons512Tokens
Project4 lessons48Owners and Safety
Project5 lessons58Section 6
TypeScript and NestJS
Start sectionStartRebuild an API in NestJS: modules, controllers, providers, dependency injection, DTOs, validation, guards and errors. You rebuild the task tracker.Nest Basics
Project5 lessons515Providers
Project4 lessons49Validation
Project4 lessons49Guards, Filters, Interceptors
Project4 lessons48
Learn by Doing
Write real code, query databases, build websites, and master AI prompts. Our interactive lessons cover every skill modern developers need.
Build Your Streak
Stay consistent and watch your progress grow! Track your daily coding habit, protect your streak with freeze days, and earn rewards for showing up every day.
12 days streak
Return tomorrow to keep your streak!
January 2026
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
21
22
23
24
25
26
27
28
29
30
Double or Nothing
Day 5 of 7
Streak Freeze
2 left
You're Not Alone
Compete on global leaderboards, invite friends to earn rewards, and celebrate each other's wins. Coding is better with friends!
Every way to learn
Read, listen, test yourself, ask the AI, or look up anything you've already covered. Every lesson meets you where you are.
A variable is a named container that stores a value you can reference later in your program.
In Python, you create one by writing the name, an equals sign, then the value you want to store.
The value can change over time. Reassigning the name simply points it to a new value.
Earn a Certificate
Earn certificates for every course you complete. Add them to your LinkedIn profile and resume to showcase your coding expertise to employers.
Why learn Node.js with Coddy
- Your code and what it does sit side by side. A program runs in a terminal beside the editor: type the arguments after
node notes.js, give it input, and see what it prints, its exit code and the files it writes. A server answers a request bar: pick the method, the path, headers and a JSON body, and see the status, the headers and the response, with every request in the Console. - The first section builds a command-line notes tool:
process.argv, exit codes, environment variables, ES modules and CommonJS, reading and writing files, callbacks, promises,asyncandawait,Promise.all, the event loop, timers,EventEmitter, reading input andpackage.json. - Then Express, on a recipe site: routes and parameters, query strings, JSON and status codes, HTML pages, static files and redirects, middleware and the order it runs in, reading a request body, 404 and error handlers, routers and async routes that read a file.
- REST APIs on a task tracker: POST, PATCH, PUT and DELETE, validation with zod, one error shape, conflicts, filtering, sorting, pagination, CORS and a page that calls the API. Then a database, on a book ratings API: MongoDB inserts,
ObjectId, filters, update operators, unique indexes, upserts, aggregation pipelines and$lookup.
Frequently asked questions about learning Node.js
Do I need to know JavaScript before learning Node.js?
Is this real Node.js?
fs, process, http, events, crypto), so a server starts the moment you press the button. The code you write is ordinary Node.js.Do I need to install Node.js or MongoDB?
No. Everything runs in the browser. The database section uses an in-memory database that speaks the MongoDB driver's API and starts empty on every Run. The course is on the website, on a computer or a phone, and not in the Coddy mobile apps. To build your own projects later, install Node.js and MongoDB on your computer: the code you learn here carries over.
What will I build in this Node.js course?
Six projects, one per section: a command-line notes tool, a recipe site, a task tracker API, a book ratings API on MongoDB, a notes app with logins, and the task API again in NestJS.
Does the course teach Express and NestJS?
Both. Express is the framework from the second section to the fifth, and the last section rebuilds the task API in NestJS with TypeScript, so you see what NestJS adds on top of Express.
Is this the MERN stack?
Is the Node.js course free?
Yes. The lessons, the terminal and the request bar, the AI hints and the certificates are free. A free account works through a few lessons a day, and Pro removes the daily limit.
Do I get a certificate for the Node.js course?
Yes. Each of the 6 sections gives you a free certificate of completion when you finish it, with its own page you can share or add to LinkedIn.