This is a weather application built with Next.js, TypeScript, and Tailwind CSS. Users can view current weather information for cities in Turkey.
- OpenWeatherMap API key management
- Weather information display for Turkish cities
- City selection
- Responsive design
- Location-based automatic weather display
-
Clone the repository:
git clone https://github.com/your_username/weather-app.git
-
Navigate to the project directory:
cd weather-app
-
Install the required dependencies:
npm install
-
Start the development server:
npm run dev
-
Open
http://localhost:3000
in your browser.
- When you run the application for the first time in a new browser session, you'll be prompted to enter an OpenWeatherMap API key.
- If you don't have an API key, sign up at OpenWeatherMap and get a free API key.
- After entering your API key, select a city from the list of Turkish cities.
- Current weather information for the selected city will be displayed.
- 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.