Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fyzanshaik/weather-app
The Weather App is a Node.js and Express-based web application that allows users to fetch real-time weather data for a specific city using the OpenWeatherMap API. It provides temperature, pressure, humidity, and weather description, with a responsive interface for desktop and mobile.
https://github.com/fyzanshaik/weather-app
expressjs javascript nodejs
Last synced: about 5 hours ago
JSON representation
The Weather App is a Node.js and Express-based web application that allows users to fetch real-time weather data for a specific city using the OpenWeatherMap API. It provides temperature, pressure, humidity, and weather description, with a responsive interface for desktop and mobile.
- Host: GitHub
- URL: https://github.com/fyzanshaik/weather-app
- Owner: fyzanshaik
- License: mit
- Created: 2023-07-26T18:16:22.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-10-26T11:43:20.000Z (about 1 year ago)
- Last Synced: 2023-10-26T12:43:36.764Z (about 1 year ago)
- Topics: expressjs, javascript, nodejs
- Language: JavaScript
- Homepage:
- Size: 17.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Weather App
A simple Weather App built with Node.js and Express, which allows users to retrieve the current weather data of a specific city.
## Description
The Weather App is a web application that utilizes the OpenWeatherMap API to fetch and display real-time weather data based on the user's input city name. It provides information such as temperature, pressure, humidity, and weather description.
### Technologies Used
- Node.js
- Express.js
- EJS (Embedded JavaScript) for templating
- OpenWeatherMap API## Installation
1. Clone the repository to your local machine:
git clone https://github.com/fyzanshaik/weather-app.git
2. Install the required Node.js modules:3. Obtain an API key from OpenWeatherMap API by signing up for a free account.
4. Create a file named `.env` in the project's root directory and add the API key as follows:
API_KEY=your_openweathermap_api_key## Usage
1. Start the application by running the following command in the terminal:
npm start
2. Open your web browser and navigate to `http://localhost:3000` to access the Weather App.
3. Enter the name of the city you want to check the weather for in the input field and click the "Get Weather" button.
4. The app will display the current weather data for the specified city, including temperature, pressure, humidity, and weather description, along with a weather icon.
## License
This project is licensed under the [MIT License](LICENSE).
## Contact
For any questions or feedback, feel free to contact me at [email protected].