This is a simple weather app that allows users to view the current weather and temperature for a specified location. The app utilizes the OpenWeatherMap API to fetch weather data and displays it on a map using the Leaflet library.
- Displays current weather information (temperature, weather condition) for a specified location.
- Shows the location on a map with a marker.
- Uses the OpenWeatherMap API to fetch weather data.
- Uses Leaflet to render interactive maps.
- React: For the front-end user interface.
- TypeScript: For type safety in the code.
- Leaflet: For interactive map rendering.
- OpenWeatherMap API: To fetch weather data.
- Tailwind CSS: For styling the app.
Before you begin, make sure you have the following installed:
Follow these instructions to get a copy of the project up and running on your local machine.
git clone https://github.com/raus1534/weather-app.git
cd weather-app
To run this project, you will need to add the following environment variables to your .env file
OPENWEATHER_API_KEY
npm run dev