/Weather-Demo

Small demo that fetches weather data based on locations

Primary LanguageJavaScript

This is a Next.js project bootstrapped with create-next-app.

Weather Demo

First, run the development server:

npm run dev
# or
yarn dev

Open http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying pages/index.js. The page auto-updates as you edit the file.

API key and .env

Copy the example file .env.local.example as .env.local

The API key to enable the requests to the Open Weather Map should be provided to you, then add it in your .env.local