See application here
This is small user interface of weather station. It is showing current air temperature and pressure, humidity, cloudiness and wind speed. It is using current user geolocation by builtin navigator functionality. Data about the weather are provided by YR API and data about the city are provided by reverse geocoding from Nominatim OpenStreetMap.
- Typescript
- React
- Tailwind
- Jest
To use this project there is yarn package manager needed.
To install all dependencies just run yarn command.
start- runs dev server with HMRbuild- creates the bundletest- runs jest teststest:watch- runs tests in watch modelint- runs eslintformat- runs prettierbuild-to-branch- builds application and deploy it to gh-pages branch
- Run application
yarn dev - Go to
localhost:3000
- Rather than showing an error when user refuses to use geolocation, show input to put postal code/city to fetch forecast data
- Use symbol code from the response to show current weather status by the icon (https://api.met.no/weatherapi/weathericon/2.0/documentation)
- Add weather information for the next hours
- Connect the application background with the symbol code - so when it is raining then show raining background, etc.
- Fetch sunrise and sunset data
- Add the rest of the todo unit tests
Pawel Galias - linkedin - pawel@galias.me
Project Link: https://github.com/pgalias/react-weather-app
Project Demo: https://pgalias.github.io/react-weather-app/
Are you seeing bugs or potential improvements? Your feedback is more than welcome!

