Skip to content

A widget that displays the weather in the specified cities. Technologies: Vue JS, Typescript/ES7 and Babel, SCSS, Webpack.

Notifications You must be signed in to change notification settings

michaellux/weather-widget-plumsail-test-project

Repository files navigation

weather-widget-plumsail-test-project

Codacy Badge

Task

Implement a widget that displays the weather in the specified cities. Technologies: Vue JS, Typescript/ES7 and Babel, SCSS, Webpack. Conditions:

  1. Users should be able to add this widget to their websites as simple as inserting the snippet into an HTML-page:
<weather-widget /> 
<script type="text/javascript" url="{URL to the app}"></script> 
  1. Get data for the widget from free public API. You must register an account at OpenWeather.
  2. After clicking the ‘Gear’ button at the upper-right corner, switch the view to the following: Here, a user must be able to:

a. Remove previously added cities.

b. Reorder the cities by dragging and dropping them within the list using ‘Hamburger’ icon to the left from the city name.

c. Add new locations.

  1. Save the configuration in the local storage and restore it on future visits. A user should be able to configure the widget just once and then have the same view until they change the computer or clean the storage.

Important: UI of your app may differ. You can use any CSS frameworks and UI libraries. We evaluate the quality of your code and UI/UX. The app is quite basic but consider it as a real-life application that is going to be supported and intensively improved by a team.

Solution

Скриншот программы Скриншот программы

Project setup

npm install

Build project

npm run build

Launch project

npm run serve

About

A widget that displays the weather in the specified cities. Technologies: Vue JS, Typescript/ES7 and Babel, SCSS, Webpack.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published