Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/adistrim/skysage

Web application built with FastAPI that provides weather forecasts for different cities.
https://github.com/adistrim/skysage

docker fastapi openweathermap-api python weather

Last synced: 7 days ago
JSON representation

Web application built with FastAPI that provides weather forecasts for different cities.

Awesome Lists containing this project

README

        

# SkySage Weather Forecast App

Web application built with FastAPI that provides weather forecasts for different cities. Users can input a city name, and the application will retrieve and display the current weather information for that city using data from the OpenWeatherMap API.

## Installation

1. Clone the repository:

```bash
git clone https://github.com/adistrim/skysage.git
cd skysage
```

2. Create an account on [OpenWeatherMap](https://openweathermap.org/) and obtain an API key.

3. Create a `.env` file in the root directory of the project and add your OpenWeatherMap API key:

```
API_KEY=your_api_key
```

4. Build the Docker image

```bash
docker build -t skysage .
```

## Usage

Run the Docker container

```bash
docker run -d -p 8000:8000 skysage
```

The application will be running at ```http://localhost:8000```

Enter the name of a city in the input field and click the "Get Weather" button to retrieve the current weather information for that city.

## License

This project is licensed under the MIT License - see the [LICENSE](https://www.mit.edu/~amini/LICENSE.md) file for details.