(Weather API) typescript project
Overview: Weather API - 3-Day Forecast
This TypeScript project fetches a 3-day weather forecast for a specified location using the OpenWeatherMap API.
Demo
Software Demo Video
Setup
- Clone the repository
- Install dependencies: npm install
- Create a .env file with your API key: WEATHER_API_KEY=your_api_key_here
- Run the development server: npm run dev
- Access the app at http://localhost:3000
- Build for production: npm run build
Development Environment
- Visual Studio Code
- Node.js
- Git / GitHub
Programming Language
Frameworks
Features
- Fetches current weather and 3-day forecast
- Displays temperature, humidity, and weather conditions
- Customizable location settings
Useful Websites
Troubleshooting
- Ensure API key is valid (check .env file and use your own)
- Verify environment variables
Time Spent