This is a simple Golang weather API that acts as a proxy to the OpenWeatherMap API. It allows you to retrieve weather data for a specific city.
Before you begin, ensure you have the following prerequisites installed on your system:
Follow these steps to build and run the application in a Docker container:
git clone https://github.com/ar4mirez/weatherapp.git
cd weatherapp
docker build -t weatherapp .
docker run -p 8080:8080 -e OPENWEATHERMAP_API_KEY=your_api_key_here weatherapp
Replace your_api_key_here with your actual OpenWeatherMap API key. The weather API will be accessible at http://localhost:8080/weather?city=CityName.