Skip to content

A simple React.js weather application built using OpenWeatherMap APIs, providing real-time weather updates for any location. Stay tuned for new features—follow for updates!

License

Notifications You must be signed in to change notification settings

sanjaydeveloper15/reactjs-weather-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🌦️ ReactJS Small Weather App

A lightweight and elegant ReactJS application to provide real-time weather updates for any city, state, or country using the OpenWeather API.


🚀 Features

  • Real-Time Weather Information: Get up-to-date weather details for any location worldwide.
  • Search Any Location: Search for weather data by city, state, or country.
  • Simple and Cool UI: Designed with a user-friendly and clean interface.
  • Responsive Design: Fully optimized for mobile, tablet, and desktop devices.
  • Error Handling: Graceful error messages when no results are found or if an API issue occurs.

📦 Installation & Running

1. Clone the Repository

Clone this repository to your local machine:

git clone https://github.com/sanjaydeveloper15/react-weather-app.git
cd react-weather-app

2. Install Dependencies

Install the required packages using your preferred package manager:

npm install
# or
yarn install

3. Obtain an API Key

Sign up at OpenWeather API and get your API key. Replace the placeholder API key in the project configuration file with your own.

4. Run the Development Server

Start the server to run the app locally:

npm start
# or
yarn start
# or
pnpm start
# or
bun start

5. Access the App

Open your browser and navigate to: http://localhost:8001


📸 Screenshots

Home Page Screenshot Shima Home Page Screenshot Latvia Home Page Screenshot Nuevo


🛠️ Tech Stack

  • Frontend: ReactJS, CSS Modules
  • API: OpenWeather API
  • Tooling: Node.js, Webpack/Babel

📖 Usage Instructions

  1. Open the application in your browser.
  2. Enter a city, state, or country name in the search bar.
  3. View the weather information for the entered location, including temperature, humidity, and conditions.

❤️ Found this project useful?

If you enjoyed this project or found it useful:

  • ⭐️ Star this repository on GitHub to show your support!
  • 📢 Share it with your friends, colleagues, or on social media.
  • 💬 Feedback? Reach out to me via Twitter.

💡 Recommended Tools and References


🌐 Deployment

This app can be deployed on any platform that supports static hosting or React apps. Some suggestions:

  • Vercel: Zero-configuration deployment for Next.js, React, and more.
  • Netlify: Easy-to-use static site hosting.
  • GitHub Pages: Free hosting for personal projects.

🔧 Future Enhancements

  • Add Forecasts: Extend functionality to show 7-day or hourly weather forecasts.
  • Multiple Language Support: Enable multi-language support for a broader audience.
  • Dark Mode: Introduce a dark theme for better user experience at night.
  • Unit Selection: Allow users to toggle between Celsius and Fahrenheit.

📄 License

This project is licensed under the MIT License. See the LICENSE file for details.


🤝 Contributing

Contributions, issues, and feature requests are welcome! Feel free to check the issues page or submit a pull request.


👨‍💻 Author

Developed by Sanjay Kumar.

About

A simple React.js weather application built using OpenWeatherMap APIs, providing real-time weather updates for any location. Stay tuned for new features—follow for updates!

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published