This project is a simple weather application built using React, TypeScript, and Vite.
This Weather App provides users with real-time weather data for various locations. It fetches weather information from a third-party API and displays it in a user-friendly format.
- Display current weather conditions including temperature, wind speed, humidity, and more.
- Toggle between different temperature units (Celsius/Fahrenheit) and wind speed units (km/h/mph).
- Automatic geolocation detection to fetch weather data based on the user's current location.
- Responsive design for seamless usage on various devices.
- Node.js installed on your machine
- npm or yarn package manager
- Clone the repository:
git clone <github.com/JT-OYEMADE/weather-app>
- Navigate to the project directory:
cd weather-app
- Install dependencies:
npm install
# or
yarn install
- Start the development server:
npm run dev
# or
yarn dev
Open your browser and go to http://localhost:3000 to view the app.
- To build the app for production, run:
npm run build
# or
yarn build
- React
- TypeScript
- Vite
- Axios (for API requests)
- Ant Design (for UI components)
This Weather App uses the Visual Crossing Weather API to fetch weather data. You'll need to obtain an API key from Visual Crossing Weather and set it up in your environment variables.
This project is licensed under the MIT License.
Feel free to customize the sections, add more details, or modify it according to your project's specific requirements.