A simple web application that allows users to get the current weather conditions and the weather forecast for the next few days for a specific location.
The application is built using react.js. It uses the OpenCage Geocoding API to get the longitude and latitude of the location that the user is searching for, and the OpenMeteo API to get the weather data for that location.
git clone https://github.com/nikhilpatil12/weather-website.git
npm install
npm start
Clone the repository:
git clone https://github.com/nikhilpatil12/weather-website.git
Navigate to the project directory:
cd weather-website
Build the Docker image:
docker build -t weather-website .
This will create a Docker image named "weather-website" using the Dockerfile provided.
Run a Docker container from the Docker image:
docker run -p 80:80 weather-website
This will start a Docker container from the "weather-website" image and map port 80 from the container to port 80 on the host machine.
Open the application in your web browser: http://localhost