Skip to content

jckpn/weather-demo

Repository files navigation

image

Setup Instructions

This project uses TypeScript, React and Tailwind. You will need Node.js installed to run it.

  1. Clone the repo: git clone https://github.com/jckpn/weather-demo/
  2. Navigate to the project directory: cd weather-demo
  3. Install dependencies: npm install
  4. Create a .env.local file in the root directory and add your OpenWeatherMap API key:
    VITE_OPENWEATHER_API_KEY=1234...
    
  5. Start the development server: npm run dev

Usage

Type any city name in the search bar to see its current weather status. It should appear instantly - if it doesn't, check your connection or API key.


TODO:

  • Add country dropdown selector at end of search bar
  • Show state if US city
  • Add tests with Vitest

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors