Skip to content
/ weather Public

πŸŒ¦πŸ’» Weather web application with a nice design and the most necessary information

Notifications You must be signed in to change notification settings

nsstnc/weather

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

14 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Weather app

Overview

This is web-application, which allows you to get the current weather situation in any city.

A full-fledged weather web application with a nice design and the most necessary information.

Application uses Openweathermap API to get current weather. Table View

Features

The main functions of the application:

  • The ability to search for weather by the name of a city or locality.
  • Display the current weather, including temperature and humidity, as well as visualization on the background.
  • Using a database with more than 68,000 cities and towns to accurately determine the user's location.
  • The user can choose the language for ease of use - Russian / English.
  • Adaptive layout for smartphone screens for easy access to the application from mobile devices.
  • Saving history for each individual session, as well as deleting it

Tech Stack

  • Backend: Python, Django, SQLite, OpenWeatherMap API, Docker
  • Frontend: HTML, CSS, Javascript, Django Template Language

Installation

  1. Clone the repository:

    git clone https://github.com/nsstnc/weather.git
    cd weather
  2. Run the setup script to configure the virtual environment and start the project:

    sh setup.sh  # Use `setup.bat` on Windows

File Structure

weather/  
β”œβ”€β”€ markdown-images/ # Directory for storing documentation images  
β”œβ”€β”€ static/ # Static files folder
β”œβ”€β”€ weather/ # Directory with application settings  
β”œβ”€β”€ weather_app/ # An application with the functionality of main app (it includes templates, static files, main urls and views)  
β”œβ”€β”€ db.sqlite3 # Database  
β”œβ”€β”€ manage.py # The program for launching Django application
β”œβ”€β”€ README.md # Project documentation  
β”œβ”€β”€ requirements.txt # List of dependencies  
β”œβ”€β”€ setup.bat # Script to set up the virtual environment and start the project for Windows systems  
β”œβ”€β”€ setup.sh # Script to set up the virtual environment and start the project for UNIX systems