A simple weather app built with FastAPI and Bootstrap.
This weather app allows users to enter a city name and retrieve the current weather conditions, including temperature, description, and icon. The app uses the OpenWeatherMap API to fetch weather data and displays it in a user-friendly format.
- Enter a city name to retrieve current weather conditions
- Displays temperature, description, and icon
- Uses OpenWeatherMap API for weather data
- Built with FastAPI and Bootstrap for a responsive and modern design
- Clone the repository:
git clone https://github.com/real0x0a1/fsatapi-weather-app.git
- Install dependencies:
pip3.9 install -r requirements.txt
- Run the app:
uvicorn main:app --reload
- Open the app in your browser:
http://localhost:8000
/
: Displays the weather app interface/weather
: Retrieves weather data for a given city name
- FastAPI: A modern, fast (high-performance), web framework for building APIs
- Bootstrap: A popular front-end framework for building responsive and modern UIs
- OpenWeatherMap API: A weather API for retrieving current weather conditions
- Ali (Real0x0a1)