Weather news app

Installation Steps

Download the weather-news-app directory. Click here to download it.

Unzip the downloaded file and navigate to the working directory.

bash
cd RapidAPI\ DevRel-Examples-External\ main\ weather-news-app/

Install dependencies

bash
npm install

Create .env.local file in root and add your RapidAPI key.

bash
NEXT_PUBLIC_RAPIDAPI_KEY=YOUR_RAPID_API_KEY

Run the app

bash
npm run dev

You are all set! Open localhost:3000 to see the app.

Weather news app

We often want to have a single news site for on particular topic. In this piece, we will use an API from RapidAPI Hub to build a weather news site.

More examples