Weather App Using External API in Node.js
Build a small CLI/API weather app that fetches live weather data from an external API.
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.
Master package.json scripts and essential npm commands for installing and managing dependencies.
Use fs.promises with .then() and .catch() for cleaner asynchronous file handling.