Fetching Data from APIs in Node.js
Call external REST APIs from Node.js using fetch (or axios) and handle JSON responses.
Call external REST APIs from Node.js using fetch (or axios) and handle JSON responses.
Compare require/module.exports with import/export and learn how to enable ES modules.
Build a small CLI/API weather app that fetches live weather data from an external API.
Install and use third-party npm packages to add features without writing everything from scratch.
Use built-in globals and process to work with paths, environment data, and module loading.
Create a basic web server with the built-in http module and send responses to the browser.
Auto-restart your Node.js server on file changes using nodemon during development.
Handle filesystem promises with async/await and try/catch for the cleanest readable code.
Create custom events with EventEmitter to build loosely coupled, event-driven Node.js code.
Compare browser JavaScript and Node.js: runtime differences, APIs, and use cases.