Rinalin's Weather Forecast application is a simple yet powerful tool built with React, allowing users to easily view weather forecasts in any city. The app features a modern and intuitive interface, making it easy to find and view the weather data you need. With a focus on providing accurate weather information, the app includes detailed data on temperatures, humidity, wind speed, and more. All the data is presented in an easy-to-read format, allowing you to quickly make decisions based on the weather conditions.
Besides React, I used next libraries , that I felt were a good fit for the project:
- Redux Toolkit for state management
- Material UI for visual part
- React-router-dom for navigation
- axios for server requests
- As a replacement for backend to store data externally I used browser Localstorage
- I learned that you can subscribe to store changes and send them to local storage directly without using additional functions
- Discovered that city Llanfairpwllgwyngyllgogerychwyrndrobwllllantysiliogogogoch exists and how to handle such a large title in card.
- Found some pitfalls like , if you will open app.adress/#/london directly from your browser, it will work as intented
- Was difficult to not duplicate Thunks , but I managed to overcome it using flags initRequest = true/false
After downloading the source code, depending on package managers you're using you should:
- Install packages, with Yarn :
yarn installor simplyyarn; with NPM :npm install - Start the project:
yarn start,npm start - The project will be opened on localhost:3000
- This is what starter page will look like:

- Type some city name (e.g. London) into input field , and press 'Enter' or click on plus icon
- The Weather Card with short info about London's weather will appear.
- For detailed info you can click on card it will send you to another page.
- To get back from detailed info use 'Home' button in Header.
- Cities array will be saved in local storage, so on page reload you will get the same results.
- You can delete cities one by one , or you can you 'clear list' button at the top right. It will appear after will add your first title.
- Make working MVP;
- Expand functionality by including the ability to get a 24hr forecast for a particular city;
Distributed under the MIT License. See LICENSE.txt for more information.