DEMO — see the result.
In this Next.JS project I've tried to show how to use OpenWeather API in small weather app. Also for background image I used Freepik API from their Figma plugin.
-
Make sure you've got installed Node v.16. Then run
npm install && npm run dev
. -
Don't forget to generate OpenWeather API key and write it in
.env
asAPI_KEY
(example in.env.example
). -
Open http://localhost:3000 with your browser to see the result.
-
To build the app, just run
npm run build
.