Skip to content

The web application fetches current weather data and a 3-day forecast for a specified location using the WeatherAPI service. It allows users to get real-time weather updates and detailed forecasts, making it easy to plan ahead.

Notifications You must be signed in to change notification settings

TyroneMartin/typescript-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

(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

  1. Clone the repository
  2. Install dependencies: npm install
  3. Create a .env file with your API key: WEATHER_API_KEY=your_api_key_here
  4. Run the development server: npm run dev
  5. Access the app at http://localhost:3000
  6. Build for production: npm run build

Development Environment

  • Visual Studio Code
  • Node.js
  • Git / GitHub

Programming Language

  • TypeScript

Frameworks

  • Express.js

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

  • 20 hours

About

The web application fetches current weather data and a 3-day forecast for a specified location using the WeatherAPI service. It allows users to get real-time weather updates and detailed forecasts, making it easy to plan ahead.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published