Giter Club home page Giter Club logo

electron-weather-app's Introduction

Electron Weather App

The original Weather-App I created was built primarly using HTML, CSS and JavaScript, but I wanted it to be something more than than just a static website.

I read about Electron, its advantages, and ease of use, so I decided to make convert my existing weather application and make it Electron Based with a React framework. The transition allows the Weather Application to become cross platform with any device and operating system.

The front end is rebuilt but the main features are still there, such as weather conditions and search functionality.

What is new is the interactive map that display a marker of any city that the user inputted into the search bar. For example, if the user searched up Georgia, the map also displays a marker indicating where Georgia is.

How does it work? A function takes the longitude and latitude of the information received from the OpenWeatherMap API and inputs it into the Map.tsx, which then places a marker on the map of the location. The map is based off the Leaflet JavaScript library if you are curious to learn more: https://leafletjs.com/reference.html.

Installation

  1. Download the zip file, uncompress it, and place it on your desktop.

  2. CD into the folder using any terminal.

  3. Run the "npm run dev" command.

  4. You can now play around with it so let me know what you think/have any suggestions.

electron-weather-app's People

Contributors

cheternal7890 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.