HASEL-UZH / TACOS-labstudy-tasks

0 stars 0 forks source link

Task 2: Adding the current weather to a TODO app (old) #2

Closed AlexanderLill closed 2 weeks ago

AlexanderLill commented 3 months ago

Project

For this task you will be working on a to-do app called "todometer". "todometer" is a web-application written in JavaScript running in Electron, and allows to manage todo's with a very simple interface.

Alexander: Here is the website to the app: https://cassidoo.github.io/todometer/

Setup

Alexander: Depending on if I use a VM or not, the following steps might be skipped

  1. Open Visual Studio Code and clone the following repository: URL
  2. Install the project's dependencies using the command npm install
  3. Start the app using the command npm run dev

Feature Request

Users have requested to see the current weather in a given location to know how many tasks they want to plan for the day. The weather should be shown in the top right as indicated in the picture. Please read the following text carefully to implement this task.

Todometer-App showing weather in Rome, Italy

Task Description

To implement this feature, two changes are necessary:

Change 1: Add a Weather component to the UI

Change 2: Use weather-API to retrieve and display current weather

While coding

👉 While working, search online for needed information. It is quicker than navigating through the entire codebase. 👉 Save the file to see to see the effects of your changes - no need to restart the app.

AlexanderLill commented 3 months ago

Expected diff: https://github.com/HASEL-UZH/todometer-solution/pull/2/files