Skip to content

A single-page app that dynamically displays the weather and sunset/sunrise for a given location.

Notifications You must be signed in to change notification settings

matthewfee/weather

Repository files navigation

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.

Getting Started

First, run the development server:

npm run dev
# or
yarn dev

Learn More

You can try out the project at the following URL:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

Testing

To test the project, use the script npm run test. Testing is automated with snapshots through Jest.

Dynamic City Weather

Icons automaticaly adjust based on the weather in a specific city:

  • San Francisco - Cloudy San Francisco

Lighting also adjust based on whether it is currently day or night:

All API date is provided through the Open Weather API.

About

A single-page app that dynamically displays the weather and sunset/sunrise for a given location.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published