Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/adistrim/skysage
- Owner: adistrim
- License: mit
- Created: 2024-04-18T14:53:13.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-05-07T07:41:36.000Z (7 months ago)
- Last Synced: 2024-05-07T08:32:45.899Z (7 months ago)
- Topics: docker, fastapi, openweathermap-api, python, weather
- Language: JavaScript
- Homepage: https://skyradar.onrender.com/
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.