Skip to content

sarahboyce/weatherreport

Repository files navigation


Weather Report

A django project to return the current weather forecast in cities

Key FeaturesDocker Set Up


Key Features

City Search

The main purpose of the weather report app is the city search with uses the OpenWeather API. This will return the current weather forecast in a city found using this API.

The results are saved to the cache for a default time of 5 minutes. This can be updated through changing the environment variable: CACHE_TIMEOUT

City Search Demo

Languages

The weather report app currently supports 3 languages:

  • English
  • German
  • French

You can select and update the language in the top nav bar.

Language Demo


Docker Set Up

In the root of the repository:

  • Copy and paste django.local.env and rename to django.env
  • Create a free openweather account at https://openweathermap.org/ and update OPEN_WEATHER_API_KEY to your api key
  • In the command line run

docker-compose up --build -d

About

Django app to tell the current weather in cities

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published