Giter Site home page Giter Site logo

weather-app's Introduction

X-Weather

X-weather is a responsive weather app developed with React, typescript and openweathermap APi.

Technologies Used

  1. React
  2. Typescript
  3. OpenweatherMap API
  4. gsap

Project Objective

the main goal of this project is to create an responsive and user friendly app that allow users to get the current foreceast of any city in the world by simply providing the name of the city

Problems & solutution

  1. Getting the users current location (city name) and displaying the current weather forecast for that city

    solution

    • I used the javacript navigation api to get the user coordinates
    • extracted the longitude and latitude from the retured data
    • used the openweatherMap api to fetch the current weather forecase bases on the users longitude and latitude
  2. Getting the current weather forecast of the city searched by the user

    solution

    • I passed the user input to the Geocoding API provided by openweather map which returned the latitued and longitude of the city
    • extracted the longitude and latitude from the retured data
    • used the openweatherMap api to fetch the current weather forecase of the city searhed by the user

weather-app's People

Contributors

adexzy1 avatar

Stargazers

 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.