Skip to content

Written in TypeScript and React, this app displays weather forecast for a given coordinates enabling user's to switch between two different data sources. The project uses the Adapter design pattern.

Notifications You must be signed in to change notification settings

pizgo/2-source-weather-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Weather Api

The purpose of the app is to show weather forecast for a given coordinates from two different API's. After providing the LAT and LON coordinates by the user, the app displays specified weather data. The app has a switch, which can be used to change the data source from one API to another (the source is displayed on the screen). The user interface remains the same (also the weather data types) , no matter which API is currently being displayed.

In order to avoid possible problems emerging from using two different API's (with different structure), I decided to implement the Adapter design pattern, which enbaled smooth switching between the data sources.

Created with:

  • TypeScript
  • React.js
  • Css
  • Cypress integration tests

Future improvements

styling and UI design

About

Written in TypeScript and React, this app displays weather forecast for a given coordinates enabling user's to switch between two different data sources. The project uses the Adapter design pattern.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages