Welcome to Clim8, your go-to solution for checking the weather with a clean and minimalistic design. This application leverages the OpenWeather API to deliver accurate weather forecasts directly to your device. Whether you're planning a day out or just want to know if you need an umbrella, Clim8 has you covered.
- Simple Interface: Enjoy a user-friendly experience with a clean layout.
- Real-Time Weather Data: Get live updates using the OpenWeather API.
- Multi-City Support: Check the weather for multiple locations.
- Responsive Design: Works well on both desktop and mobile devices.
- Lightweight: Fast loading times and minimal resource usage.
To get started with Clim8, you need to clone the repository and set up your environment. Follow these steps:
-
Clone the repository:
git clone https://github.com/zanella12/clim8.git
-
Navigate to the project directory:
cd clim8
-
Install the necessary dependencies. Make sure you have Node.js installed:
npm install
-
Set up your OpenWeather API key. You can sign up for a free account at OpenWeather.
-
Create a
.env
file in the root directory and add your API key:OPENWEATHER_API_KEY=your_api_key_here
-
Start the application:
npm start
Once you have the application running, you can easily search for the weather in any city. Simply enter the city name in the search bar and hit enter. The app will display the current temperature, humidity, and a brief forecast.
- City: London
- Temperature: 15°C
- Humidity: 80%
- Forecast: Partly cloudy
Clim8 uses the OpenWeather API for fetching weather data. You can find more information about the API and its endpoints here.
To use the OpenWeather API, you must sign up for an API key. Insert your key in the .env
file as described in the Getting Started section.
Here’s an example of how to make a request to the OpenWeather API:
fetch(`https://api.openweathermap.org/data/2.5/weather?q=London&appid=${process.env.OPENWEATHER_API_KEY}`)
.then(response => response.json())
.then(data => console.log(data));
We welcome contributions to Clim8! If you want to help improve the project, please follow these steps:
- Fork the repository.
- Create a new branch for your feature or bug fix.
- Make your changes.
- Commit your changes with a clear message.
- Push your branch to your forked repository.
- Create a pull request.
Please ensure your code follows the existing style and includes relevant tests.
This project is licensed under the MIT License. See the LICENSE file for more details.
For any inquiries or feedback, feel free to reach out:
- Email: example@example.com
- Twitter: @yourhandle
You can find the latest releases of Clim8 here. Download the latest version and execute it to experience the latest features and improvements.
- OpenWeather: For providing the weather data.
- Node.js: For the backend environment.
- React: For building the user interface.
Thank you for checking out Clim8! We hope you enjoy using the app as much as we enjoyed building it. For updates and new features, keep an eye on the Releases section.