Simple Typescript/Vite.js project . A weather app that displays the time, and day forecast for New Delhi , India.
Fetches weather data from the WeatherAPI to obtain up-to-date weather information. - Dynamically generates a weather box with the date, location, weather condition, and an appropriate weather icon (from the icons provided by the WeatherAPI website).
- TypeScript
- Vite.js: A fast frontend build tool for quick development and optimized production builds.
- WeatherAPI: Retrieves weather data to provide accurate and real-time weather information.
1. Clone the repository:
git clone https://github.com/your-username/weather-app.git
2. Install dependencies:
cd weather-appnpm install
3. Set up the API Key:
Create a file named config.ts
in the project root.
Inside config.ts
, export your WeatherAPI key as apiKey
:
4. Run the app:
`npm run dev`