Git Product home page Git Product logo

weather-react-app's Introduction

Weather React App

ย 

Demo

Weather React App

Github top language Github language count Repository size Repository license

About ย  | ย  Features ย  | ย  Technologies ย  | ย  Requirements ย  | ย  Starting ย  | ย  License ย  | ย  Author

ย 

๐ŸŽฏ About

I was looking for any idea to practice a little React with typescript, and scouring a little on the internet, I found a free weather API โ›….

So I resolved to create a simple weather app, and as a plus, learn about the dark mode.

The app is simple, there's an input to put the city, and if the city exists, is shown the current weather together with five days forecast, else, is shown an error.

The API I used was the free plan of the open weather map, with a limit of 60 calls per minute.

You can see the demo here ๐Ÿ‘ˆ๐Ÿ‘ˆ

โœจ Features

โœ”๏ธ Show current weather;
โœ”๏ธ Show five days forecast;
โœ”๏ธ Dark and light mode;
โœ”๏ธ Save theme and last search in local storage;
โœ”๏ธ Responsive app;

๐Ÿš€ Technologies

โœ… Requirements

Before starting ๐Ÿ, you need to have Git and Node installed, and also an account in open weather map to get your API key.

๐Ÿ Starting

# Clone this project
$ git clone https://github.com/maurodesouza/weather-react-app

# Access the frontend repo
$ cd weather-react-app/frontend

# Create .env file with
REACT_APP_WEATHER_KEY=YOUR_KEY

# Install dependencies
$ yarn

# Run the project
$ yarn start

# The server will initialize in the <http://localhost:3000>

๐Ÿ“ License

This project is under license from MIT. For more details, see the LICENSE file.

Made with โค๏ธ by Mauro de Souza

ย 

Back to top


weather-react-app's People

Contributors

maurodesouza avatar dependabot[bot] 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.