- Mobile first development with Tailwind CSS;
- Location search input;
- Carousel at mobile version;
- See more/See less weather features at mobile version;
- Toggler between metric/imperial units system;
- Display local time;
- Page loader;
- Search loader;
- Error triggering if entered location does not exist
- React JS: JavaScript library for building user interfaces.
- Tailwind CSS: Utility-first CSS framework for rapid styling and responsive design.
- Axios: HTTP client library used to fetch data from the OpenWeather API.
- OpenWeather API: Real-time weather data service used to provide climate and forecast information.
- Node.js installed
- npm or yarn package manager
-
Clone the repository:
git clone https://github.com/usuario/weather-web-app.git
-
Install dependencies:
cd weather-web-app npm install
-
Create a .env file in the project root and add your OpenWeather API key:
REACT_APP_API_KEY='YOUR_KEY_HERE'
-
Run the project locally:
npm start
-
Access the application at http://localhost:3000.
This project is licensed under the MIT License.
You are free to use, modify, and distribute this software for personal and commercial purposes, as long as the original license and copyright notice are included. There is no warranty for the code provided, and the author is not liable for any issues arising from the use of this software.