Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/lucasshira/weather-app


https://github.com/lucasshira/weather-app

css expressjs html javascript nodejs

Last synced: 5 days ago
JSON representation

Awesome Lists containing this project

README

        

# Weather App

![City Image](weather%20print.png)
*Snapshot of the application displaying weather information for a specific city.*

## Overview

Welcome to the Weather App, a simple and responsive application developed in JavaScript Vanilla (ES6). This app provides real-time weather information, offering details such as temperature, sky conditions, wind speed, and humidity for a specified city. To enhance the user experience, the application dynamically updates the background with an image of the searched city, adding visual immersion.

## Features

- **Weather Data:** Get accurate weather data, including temperature, sky conditions, wind speed, and humidity.

- **Immersive Visuals:** The background of the page is dynamically filled with an image of the searched city, creating a visually engaging experience for users.

- **Responsiveness:** The app is designed to be responsive, adapting seamlessly to different screen sizes, making it convenient for users on various devices.

## Technologies Used

- **JavaScript (ES6):** The application is developed using JavaScript Vanilla, leveraging the latest ECMAScript features for a clean and modern codebase.
- **Node.js and Express.js:** The server-side scripting is powered by Node.js, with the Express.js framework providing a scalable and efficient backend.

## APIs Used

1. **OpenWeatherMap API:**
- Provides real-time weather data for the specified city.

2. **Unsplash API:**
- Retrieves high-quality images of the searched city to enhance the visual appeal of the app.

## Setup

To run the application locally, follow these steps:

1. Clone the repository:

```bash
git clone https://github.com/lucasshira/weather-app.git
```

2. Navigate to the project directory:

```bash
cd weather-app
```

3. Install Dependencies:
Run the following command to install project dependencies.
```bash
npm install
```

4. Start the Server:

Run the following command to start the server:

```bash
npm start
```

5. Open the App in a Browser:

Open your web browser and go to [http://localhost:3000/weather](http://localhost:3000) to view the application.

## License
This project is licensed under the MIT License - see the LICENSE file for details.