Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Weather Web App - Solo Sprint 1

Project Overview

This project involves building a professional weather web app using Flask, integrating the OpenWeatherMap API, and deploying the app to Heroku. The app allows users to input a city, state, and country to retrieve current weather information. This sprint emphasizes setting up a robust CI/CD pipeline and ensuring high test coverage for the application.


Features

  • Search weather data by city, state, and country
  • Display real-time weather information including:
    • Temperature (in Celsius)
    • Weather conditions with icons
    • Feels like temperature
    • Wind speed, humidity, visibility, pressure, and dew point
  • Error handling for incorrect or incomplete user inputs
  • Simple Bootstrap-based dashboard for a clean and responsive UI

Setup Instructions

Prerequisites

Steps to Run Locally

  1. Clone the repository:

    git clone <your-repository-url>
    cd <repository-directory>
  2. Create a virtual environment:

    python3 -m venv venv
    source venv/bin/activate  # On Windows, use `venv\Scripts\activate`
  3. Install dependencies:

    pip install -r requirements.txt
  4. Set up environment variables:

    • Create a .env file in the project root and add your API key:
      WEATHER_KEY=your_api_key_here
  5. Run the application:

    flask run

    Access the app at http://localhost:5000


Acknowledgments

About

A simple demonstration of a Flask app utilizing OpenWeatherMap

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages