+
Skip to content

altankurt/weather-app

Repository files navigation

Weather App

This is a weather application built with Next.js, TypeScript, and Tailwind CSS. Users can view current weather information for cities in Turkey.

Features

  • OpenWeatherMap API key management
  • Weather information display for Turkish cities
  • City selection
  • Responsive design
  • Location-based automatic weather display

Installation

  1. Clone the repository:

    git clone https://github.com/your_username/weather-app.git
    
  2. Navigate to the project directory:

    cd weather-app
    
  3. Install the required dependencies:

    npm install
    
  4. Start the development server:

    npm run dev
    
  5. Open http://localhost:3000 in your browser.

Usage

  1. When you run the application for the first time in a new browser session, you'll be prompted to enter an OpenWeatherMap API key.
  2. If you don't have an API key, sign up at OpenWeatherMap and get a free API key.
  3. After entering your API key, select a city from the list of Turkish cities.
  4. Current weather information for the selected city will be displayed.

About the API Key

  • This application uses the OpenWeatherMap API to fetch weather data.
  • Your API key is stored in the browser's session storage.
  • The API key remains valid until you close the browser or tab.
  • If you refresh the page, you won't need to re-enter the API key.
  • When you open a new tab or restart the browser, you'll need to enter the API key again.

Technologies

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载