Skip to content

Virkkunen/weather

Repository files navigation

Weather

A simple responsive weather app made with React and TypeScript, generated using Vite. All weather data provided by Weather API.

GitHub Package.json Version Github License
GitHub Issues GitHub Pull Requests

Features

  • Current weather
  • 3 day forecast
  • Automatically sets your location (if consented)
  • Search for cities around the world
  • Metric and Imperial units
  • Able to provide your own Weather API key
  • Responsive layout

Screenshots

desktop mobile

Demo

Weather

Run Locally

  • Clone the project
  git clone https://github.com/Virkkunen/weather.git
  • Go to the project directory
  cd weather
  • Install dependencies
  npm i
  • Create the .env file on the root of the project and add your Weather API key
VITE_WEATHER_API_KEY=YOUR_API_KEY_HERE
  • Start the server
  npm run dev
  • The server will be running locally on localhost:5173/weather/

Authors

Tech Stack

React, TypeScript, Vite, TailwindCSS, Headless UI, RESTful API