This is a sample application that demonstrates how to make asynchronous web requests using Node.js. It utilizes the fetch API, which is now stable in Node.js 21 and can be used without loading additional packages.
To get started with this app, you will need an API key from OpenWeatherMap. Once you have obtained the API key, replace the corresponding line in the index.js
file with your API key.
- Clone this repository.
- Install the required dependencies by running
npm install
. - Start the application by running
node index.js
. - The app will fetch weather information from OpenWeatherMap API and display it in the console.
This project is released under the MIT license. See the LICENSE file for more details.
Developed by Andreas Jakl.
- Website: https://www.andreasjakl.com/