Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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].