This is a Next.js project bootstrapped with create-next-app
and Open Weather
First, install the dependencies:
npm install
# or
yarn install
Create an .env.local file in the root folder (outside of src folder), insert NEXT_PUBLIC_BASE_API_URL=key123124123 <== your api-key in the empty string, you can get for free at Open Weather.
Second, run the app:
next dev
Open http://localhost:3000 with your browser to see the result.
To learn more about Next.js, take a look at the following resources:
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.
You can check out the Next.js GitHub repository - your feedback and contributions are welcome!