Skip to content

About

Weather forecasting website with images and walk-through videos of searched city.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

City Weather

A weather forecasting website using several APIs, styling libraries and React JS.

Demo video

demo video

Concepts tested

  • usage of multiple APIs
  • css animations
  • css modules for styling
  • using graphs
  • page transitions
  • usage of search bars
  • animated icons

Features

  • search any city, with Google Autocomplete suggesting names as the user types
  • weather forecast for the searched city from the Visual Crossing API, shown with charts
  • photo gallery of the city, pulled from Google Places
  • tour videos of the city captured during a walk, found through the YouTube API within 30 miles of it
  • horizontal four-slide layout with page transitions, css animations and animated weather icons
  • loading and error screens while the data arrives

How it works

The graph below shows where the data comes from. The search gives the city's coordinates, and those coordinates fan out to three APIs: Visual Crossing for the weather, Google Places for the photos and YouTube for the videos. Everything then renders into the four slides.

image

Sources used

CSS Modules
Select Component
Framer library
Chart.js
Chart.js label plug-in
Static weather icons
Date library
Some features

APIs used

Google Autocomplete API
Visual Crossing API
Google Places API
Google Youtube API

About

Weather forecasting website with images and walk-through videos of searched city.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages