Skip to content

abdullahwaseem01/WeatherSimple

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WeatherSimple View Demo

sample-img

Introduction:

Weather conditions can change drastically, affecting the safety of one’s travel and greatly affecting how one’s day is planned. Having access to weather information is vital. With weather data that is provided using OpenWeatherAPI. WeatherSimple can provide live and accurate updates on weather on various cities. Weather Simple aims to bring simplicity and reliability too information about the current weather conditions, upcoming forecast, and conditions. Weather Simple allows users to plan their days and weeks with vital weather information. WeatherSimple gives a modern, modular approach to a weather application. WeatherSimple’s main goal is to provide a seamless weather viewing platform across all devices, while giving a pleasant viewing experience.

Table of Contents

  1. Project Information
  2. Code
    1. Code Folder
  3. Design
    1. Design Folder
    2. Prototype
    3. Class Diagram
    4. System Level State Diagram
    5. Weather Search Sequence Diagram
  4. Requirements
    1. Requirements Folder
    2. 1 - Requirements Diagram
    3. 2 - User Interaction Interface
    4. 3 - Functioning Web Applicaiton
    5. Requirements Modelling
    6. Requirements & Stakeholders
  5. Test Cases
    1. Test Case Folder
  6. Use Cases
    1. Use Case Folder
    2. 1 - JamBoard
    3. 2 - CRC Cards
    4. 3 - Use Case Diagram
    5. 4 - User Stories
    6. 5 - User Story
    7. 6 - Use Cases

Project Information

WeatherSimple will provide current and upcoming weather data, including overcast condition, temperature, percentage of precipitation and other mirror condition data.

The final deliverable will include a functioning weather app that can function on any web capable device. WeatherSimple will have the ability to scale to any screen size, and allow users to pick between dark mode and light mode.

Code

Contains all the code, for the WeatherSimple website. Website is ready to run from inital download, with API key already allocated with in the document. WeatherSimple has a simple weather searching API, that allows for users to get real time weather information. Once the user hits search, the map will go to the location that is searched while also displaying the temperature.

This README.md provides a guide to help users download, and try out our WeatherSimple application. This can be easily done by downloading the file and unzipping, all required elements are with in the file.

Note: JavaScript must be enabled

Step 1

Clone the repository

git clone https://github.com/SOFE2720/Group-62-WeatherSimple.git

Step 2

Open index.html

Enable location

Design

The design element contains contains a class diagram which details how all classes, entities and attributes. Along with a system level state diagram which details the states of the classes and attributes of the system. Finally A sequence diadram was included to display how a user may interfact with WeatherSimple.

Requirements

This section consists of requirements for the program presented throughout multiple diagrams and descriptions.

These include the Requirements Diagram, the User Interaction Interface, and Functioning Web Application.

Along with each requirement, a small description and potential scenario is added in order to help further comprehension of each requirement.

Test Cases

Note: Install Selenium package via pip install selenium

Step 1

Download test case and code folder.

Step 2

Open code folder in Visual Studio Code and create local server using LiveServer extenstion, ensure your local server is being run on Google Chrome.

Step 3:

Open Integration.py in PyCharm

Step 4:

Copy your local server hyperlink starting with http:// and paste into driver.get() function on line 5 of integrationtest.py

Step 5

Open terminal and enter comand python integrationtest.py

Use Case

Use cases, are a critical portion of this GitHub repository, where it helps build the future outlook of our application. By helping determing crucial requirements and refining these requirements. These use cases, show the value that specific requirements can provide to the consumer and to the overall outlook of WeatherSimple.

The use case portion of this GitHub repository showcases, several aspects of our WealthSimple application that we built upon in the beginning stages of development cycle.

  • This portion includes a JamBoard that showcases, the user story needs that are separated into core website features, api features and developmental features.
  • In addition, this folder also carries the CRC Cards that enables discussion.
  • This folder also contains the User Story that showcases the value of a specific function back towards the consumer.
  • Finally, this folder also contains the Use Case Diagram and the Use Cases, which shows how a person would interact with the system and its processes to accomplish these goals. These provide valuable information in the building of the functions and the future outlook of the program.