Node.js Tutorials
A full Node.js course: modules, filesystem, HTTP, Express, JSON APIs, and npm workflows.
This course includes 18 lessons grouped from first steps to more capable workflows. Work through a group in order, or jump to the task you need today. Every lesson includes explanations, copyable examples, and tips written for beginners.
Cheatsheet · Search this course · Web category · All categories
Getting started
Topic pagePackages and tooling
Topic pageCore APIs
Topic pageExpress and APIs
Topic page- Express IntroInstall Express and define simple GET routes that send text or HTML.
- MiddlewareRun shared logic on requests: logging, JSON parsing, and custom checks.
- JSON APIsBuild small JSON endpoints for create/read style practice without a database.
- Environment VariablesConfigure ports and secrets with process.env and keep secrets out of source control.
Reliability
Topic page- Async and AwaitWrite asynchronous code that reads clearly using promises and async functions.
- Error HandlingCatch failures in async code and return useful HTTP errors from Express.
- Debugging NodeInspect running scripts with console logging, the inspector, and clear reproduction steps.
- Working with JSONParse and stringify JSON for APIs, config files, and request bodies.
- Next StepsReview Node skills from this course and pick useful follow-on topics.