Skip to content

maurodesouza/weather-react-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

41 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

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