A weather application created with Next.js. When used, allowed you to search a city and then render the temperature and hours until sunset/sunrise. Dynamic theming adjust to night or day based on the API results.
First, run the development server:
npm run dev
# or
yarn dev
You can try out the project at the following URL:
- Weather API
- Learn Next.js - an interactive Next.js tutorial.
You can check out the Next.js GitHub repository - your feedback and contributions are welcome!
To test the project, use the script npm run test
. Testing is automated with snapshots through Jest.
Icons automaticaly adjust based on the weather in a specific city:
Lighting also adjust based on whether it is currently day or night:
All API date is provided through the Open Weather API.