wea-ther-dashb-ofward
v1.0.0
Published
a Node.js web application that displays current weather conditions and a 5-day forecast for any city
Downloads
2
Readme
README for Weather Dashboard Project Project Name: Weather Dashboard
Description: Weather Dashboard is a Node.js web application that displays current weather conditions and a 5-day forecast for any city. The application uses the OpenWeatherMap API to fetch weather data and presents it in a user-friendly web interface.
Installation:
Clone this repository to your local machine. Navigate to the project directory. Run npm install to install the necessary dependencies, including express, axios, and dotenv. Obtain an API key from OpenWeatherMap and set it in a .env file as OPENWEATHER_API_KEY. Usage: Start the server with:
Copy code node index.js Access the application by navigating to http://localhost:3000 in your web browser. Enter a city name to view its current weather and forecast.
Dependencies:
express: Web application framework. axios: For making HTTP requests. dotenv: For managing environment variables. ejs: For server-side templating. Contributing: Contributions are welcome! Please fork the repository and submit a pull request with your proposed changes.
License: This project is licensed under the MIT License - see the LICENSE file for details.