Skip to content

KamiSpo/CC3_WeatherApp

Repository files navigation

Weather App

A simple weather app created using Node.js and Webpack. The app shows current weather in a given location as well as forecast for the next 4 days.

Table of contents

General info

The project was created during the third edition of the CodersCamp. It uses https://openweathermap.org/api for fetching the weather data. The API provides forecast in 3-hour time spans, which we merged info full days in order to provide more readable data. Since OpenWeatherApi provides UTC times only, we used another API - https://timezonedb.com/ to find the time zone a specific city is in. We also used the moment.js npm package in order to convert time into local time zones and add proper formatting to dates.

Technologies

  • JavaScript
  • CSS
  • HTML
  • Webpack
  • Node.js

Setup

The project requires Node.js installed.

npm install
npm run build

Features

  • Geolocation and showing weather by coordinates
  • Showing weather by user query
  • Showing weather by query stored in the local storage (the latest correct query)

To-do list:

  • A feature of adding cities to "Favorites"
  • Adding more detailed weather information to the forecast
  • Temperature graph

Screenshots

Initial screen Main screen

Authors

Credits

Credit to authors of icons:

About

A weather app created during the Coders Camp course.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 5