Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 427 Bytes

README.md

File metadata and controls

26 lines (17 loc) · 427 Bytes

React Weather

Background

Built with vite, react, typescript + swc.

Run locally

  • Create .env. Populate the following:
VITE_OPENWEATHER_API_KEY=yourapikey
VITE_OPENWEATHER_BASEURL=https://api.openweathermap.org/data/2.5/weather
  • Either pnpm or npm
pnpm i

npm run dev
  • When the page loads, try searching with:
    • city: osaka, country: jp
    • city: singapore, country: sg