Giter Club home page Giter Club logo

reactweatherapp's Introduction

Final assignment

Create an application that connects to OpenWearherMap API and allows for forecasts search. Requirements:

  • Don't use external design systems - create styled-components by yourself. Aesthetics won't be rated, only components decomposition. You can even use existing CSS (e.g., from bootstrap or material) and copy it to your components. The website doesn't have to be responsive or support mobile in any way
  • Forecast search options:
    • search forecast by city, autocomplete city name
    • forecast for user's geolocation (we assume that the user always accepts geolocalization access query)
    • switch for choosing forecast option type: 5 day / 3 hour or 16 day
  • results should be cached until page refresh - if a user queries for the same parameters, data should be taken from redux instead of API call
  • show loader while the search is in progress, you can use an external library
  • display weather-related icon. Flaticon is a great free SVG icons source
  • display information if the weather will be nice. Nice weather attributes:
    • no rainy days
    • the average temperature between 18 and 25 degrees
    • the temperature never drops below 15 or raises above 30 degrees
    • "Nice" weather has all these attributes, "passable" weather has 2 out of 3 attributes and "not nice" weather has 1 or 0 attributes
  • display gif depicting weather. Use tenor gif API for gif URL search. Use the most popular "description" field value as keywords, e.g. clear sky
  • switch gif every 30 seconds
  • enable light and dark mode

Evaluation:

You may get 50 points in total. Rates:

  • 45-50 points = 5
  • 35-44 points = 4
  • 25-34 points = 3
  • 0-24 points = 2

Points values:

  • [5 pts] redux structure
  • [5 pts] epics and selectors usage
  • [5 pts] code structure: clear containers and components distinction
  • [3 pts] code style
  • [5 pts] search by city
  • [5 pts] search by user geolocation
  • [2 pts] 5 day / 3 hour or 16 day switch
  • [3 pts] search results caching
  • [1 pt] loader
  • [3 pts] nice weather classification
  • [5 pts] gif support
  • [3 pts] gif switching
  • [5 pts] light/dark mode

reactweatherapp's People

Contributors

mieszkosabo avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.