Skip to content

Ankit052003/Advance-Weather-Station

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Advanced Weather Station

A comprehensive and professional weather forecasting application built with modern web technologies. This application provides real-time weather data, interactive maps, detailed forecasts, and advanced meteorological insights.

Advanced Weather Station

Features

Core Weather Features

  • 🌤️ Real-time Weather Data - Current conditions and live updates
  • 📅 Extended Forecasts - 7-day detailed weather predictions
  • 🗺️ Interactive Weather Maps - Visual weather patterns and radar
  • 📊 Weather Trends - Historical data analysis and charts
  • 📍 Multiple Locations - Support for worldwide weather data

Advanced Features

  • 🎯 AI-Powered Accuracy - Enhanced forecast precision with machine learning
  • 🌬️ Air Quality Index - Real-time air pollution monitoring
  • ☀️ UV Index Tracking - Sun exposure and safety recommendations
  • 🚨 Weather Alerts - Severe weather notifications and warnings
  • 🎤 Voice Assistant - Voice-controlled weather queries
  • Favorites System - Save and manage favorite locations
  • 🌡️ Weather Gauges - Visual temperature, humidity, and pressure displays
  • 🏃 Activity Suggestions - Weather-based activity recommendations

User Experience

  • 🌙 Dark/Light Theme - Customizable interface themes
  • 📱 Responsive Design - Optimized for all device sizes
  • 🔍 Smart Search - Intelligent location search with suggestions
  • 📊 Data Visualization - Interactive charts and graphs
  • 🎨 Modern UI - Clean, intuitive, and professional interface

Technology Stack

Frontend

  • Next.js 14 - React framework with App Router
  • TypeScript - Type-safe development
  • Tailwind CSS - Utility-first CSS framework
  • Framer Motion - Smooth animations and transitions

UI Components

  • Radix UI - Accessible component primitives
  • Lucide React - Beautiful icon library
  • Recharts - Responsive chart library
  • Sonner - Toast notifications

Development Tools

  • ESLint - Code linting and quality
  • PostCSS - CSS processing
  • Autoprefixer - CSS vendor prefixing

Getting Started

Prerequisites

  • Node.js 18+
  • npm or pnpm package manager

Installation

  1. Clone the repository:
git clone https://github.com/Ankit052003/advanced-weather-station.git
cd advanced-weather-station
  1. Install dependencies:
npm install
# or
pnpm install
  1. Set up environment variables:
# Copy the example environment file
cp .env.example .env.local

# Edit .env.local and add your API keys:
# NEXT_PUBLIC_OPENWEATHER_API_KEY=your_openweather_api_key_here
  1. Get your OpenWeather API key:

    • Visit OpenWeather API
    • Sign up for a free account
    • Get your API key
    • Add it to your .env.local file
  2. Start the development server:

npm run dev
# or
pnpm dev
  1. Open http://localhost:3000 in your browser.

Environment Variables

Create a .env.local file in the root directory and add the following:

NEXT_PUBLIC_OPENWEATHER_API_KEY=your_openweather_api_key_here

Important: Never commit your .env.local file to version control. It contains sensitive information.

Building for Production

npm run build
npm start

Project Structure

advanced-weather-station/
├── app/                    # Next.js App Router pages
│   ├── weather-map/       # Interactive weather maps
│   ├── weather-metrics/   # Detailed metrics and gauges
│   ├── weather-stations/  # Weather station data
│   └── weather-trends/    # Trends and analytics
├── components/            # Reusable React components
│   ├── ui/               # Base UI components
│   └── weather/          # Weather-specific components
├── hooks/                # Custom React hooks
├── lib/                  # Utility functions and configurations
├── utils/                # Helper functions and API integrations
└── public/               # Static assets

API Integration

This application integrates with various weather APIs to provide comprehensive meteorological data:

  • Real-time weather conditions
  • Extended forecasts
  • Historical weather data
  • Air quality information
  • Weather alerts and warnings

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

  • Weather data provided by various meteorological services
  • Icons by Lucide React
  • UI components powered by Radix UI
  • Built with Next.js and modern web technologies

Author: Ankit Kumar Version: 1.0.0
Last Updated: July 2025

About

Built a responsive weather app using React, Next.js 14, and TypeScript with real-time data from OpenWeatherMap. Features include 7-day forecasts, AI tips, voice assistant, geolocation, dynamic themes, and localStorage favorites, all within a sleek, modern UI using Tailwind and Framer Motion.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors