Welcome to my weather web app! This project showcases my skills in web development using Node.js and API integration. With this app, users can easily obtain real-time weather information for any location worldwide.
- Real-time weather information: Users can get the current weather conditions for any location by searching for it.
- International support: Users can search for weather information for any location worldwide, not just limited to a specific country or region.
- Node.js
- Express.js
- HTML
- CSS
- JavaScript
- API integration (WeatherStack API & PositionStack API)
- Clone the repository:
git clone https://github.com/harshpatel-r/Weather_App.git
- Change to the project directory:
cd Weather_App
- Install the dependencies:
npm install
- Create a
config/dev.env
file in the root directory of your project. - Inside the
dev.env
file, specify the necessary environment variables required for the app. For example:
FORCAST_URL=http://api.weatherstack.com/current?access_key={your_weatherstack_api_key}&query=
GEOCODE_URL=http://api.positionstack.com/v1/forward?access_key={your_positionstack_api_key}&query=
Replace your_weatherstack_api_key
with your actual API key for the WeatherStack API and your_positionstack_api_key
with your actual API key for the PositionStack API.
- Start the application:
npm run dev
- Open your web browser and visit
http://localhost:3000
to access the app.
Support for running the app with Docker is currently under development. Stay tuned for updates on Docker usage instructions! We are excited to bring you the ability to run the app in a containerized environment for easier deployment and management.
To retrieve weather data, this project utilizes the WeatherStack API. You will need to sign up for an API key at https://weatherstack.com/ and replace your_weatherstack_api_key
in the dev.env
file with your actual API key.
To retrieve location data, this project utilizes the PositionStack API. You will need to sign up for an API key at https://positionstack.com/ and replace your_positionstack_api_key
in the dev.env
file with your actual API key.
Contributions are welcome! If you find any issues or have suggestions for improvements, please feel free to contribute. Here are some ways you can contribute:
- Report bugs or errors you encounter.
- Suggest new features or enhancements.
- Provide feedback on the existing features.
- Improve the codebase and project structure.
- Write tests to ensure stability.
- Help with translations.
If you have any questions or need assistance, please open an issue and provide detailed information. We appreciate your contributions!
Let's make this project better together! 🚀
Contributions are welcome! If you're interested in contributing to the weather web app, please follow these steps:
- Fork the repository on GitHub.
- Clone the forked repository to your local machine.
- Create a new branch for your feature or bug fix.
- Make the necessary changes in your branch.
- Commit your changes and push the branch to your forked repository.
- Submit a pull request to the main repository.
Please ensure that your contributions align with the coding conventions and guidelines set in the project. If you're unsure about anything or need guidance, feel free to open an issue to discuss your ideas or seek clarification.
We appreciate your contributions and efforts in making this weather app even better! Thank you for your support.
🌤️ Happy coding! 🌈
Thank you for visiting my weather web app! I hope you find it useful for obtaining real-time weather information. If you have any questions or feedback, please feel free to reach out. Happy coding!
🌤️ Keep exploring, stay curious! 🌈
✨ [Harsh Patel] ✨
You can connect with me on the following platforms:
Feel free to reach out to me with any questions, feedback, or collaboration opportunities!