Skip to content

This Flask Weather App provides real-time temperature data for cities worldwide using the OpenWeatherMap API. Built with Flask, it retrieves and displays current temperature information in a straightforward, accessible format.

Notifications You must be signed in to change notification settings

rahul-vinay/flask-weather-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Flask Weather App 🌤️

A simple Flask web application to display current weather information for added cities using the OpenWeatherMap API.

Features

  • Add cities to a list and retrieve their current weather.
  • Displays temperature, weather description, and an icon representing the weather.
  • Delete cities from the list.

Technologies Used

  • Python
  • Flask (for web framework)
  • SQLAlchemy (for database management)
  • SQLite (for local database)
  • HTML, CSS (with Bulma for styling)

Getting Started

Prerequisites

Setup Instructions

  1. Clone the repository and navigate into it.

  2. Create a virtual environment, activate it, and install dependencies.

  3. Add your OpenWeatherMap API key in app.py.

  4. Initialize the database.

  5. Run the application.

  6. Access the app at http://127.0.0.1:5000.

image

Note

This project was developed as a personal practice to learn and demonstrate Flask web development skills.

About

This Flask Weather App provides real-time temperature data for cities worldwide using the OpenWeatherMap API. Built with Flask, it retrieves and displays current temperature information in a straightforward, accessible format.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published