Skip to content

eaglepython/Nexus

Repository files navigation

🌀️ Nexus Weather

Advanced Weather Intelligence Platform

image

🌟 Where meteorology meets cutting-edge technology 🌟


πŸ“‹ Table of Contents

🏠 Overview ⚑ Features 🎯 Demo πŸ› οΈ Installation
πŸ“– Usage πŸ”Œ API Integration 🧰 Technologies πŸš€ Deployment

🌟 Overview

Nexus Weather Logo

Nexus Weather is a modern React app delivering real-time weather, air quality, and 5-day forecasts with a beautiful, responsive interface. Powered by OpenWeatherMap, it features dynamic theming, glassmorphism UI, and blazing-fast performance with Vite.


✨ Key Highlights

  • 🎨 Dynamic Weather Theming: UI adapts to current weather
  • πŸ“Š Comprehensive Data: Current, forecast, and air quality
  • πŸ” Smart Search: Cities, zip codes, coordinates, landmarks
  • πŸ’Ž Glassmorphism UI: Modern, animated, and responsive
  • πŸ“± Mobile First: Touch-friendly and fully responsive

πŸš€ Features

β˜€οΈ Core Weather

  • 🌑️ Current Weather: Temp, humidity, wind, visibility
  • πŸ“… 5-Day Forecast: Extended daily breakdowns
  • 🌬️ Air Quality Index: PM2.5, PM10, O₃, NOβ‚‚

🎨 Interface

  • 🎨 Dynamic Theming
  • πŸ“ Geolocation Support
  • πŸ” Recent Search History
  • 🎭 Glassmorphism Design

πŸ’Ž User Experience

  • πŸ”„ Loading Animations
  • ❌ User-friendly Errors
  • πŸ’Ύ Recent Locations
  • 🎯 Accessibility

⚑ Performance

  • ⚑ Instant Loading
  • πŸŒ“ Day/Night Detection
  • πŸ‘€ Responsive Design
  • πŸ† Optimized for all devices

🎯 Demo

Nexus Weather App Demo

πŸ› οΈ Installation

πŸ“‹ Prerequisites

Requirement Version Status
🟒 Node.js v16.0+ Required
πŸ“¦ npm Latest Required
🌐 Browser Modern Required
πŸ”‘ API Key OpenWeather Required

πŸš€ Quick Start

git clone https://github.com/yourusername/nexus-weather.git
cd nexus-weather
npm install
  1. Configure API Key
    Create a .env.local file in the root:

    VITE_OPENWEATHER_API_KEY=your_api_key_here
  2. Start Development Server

    npm run dev
  3. Open in Browser
    Visit http://localhost:5173


βš™οΈ Configuration

  • API key is required in .env.local as VITE_OPENWEATHER_API_KEY
  • See vite.config.js for dev/prod settings

πŸ“– Usage

  • Default Weather: Loads New York on start
  • Search: Enter any city, zip, or coordinates
  • Recent Searches: Dropdown history (coming soon)
  • Unit Toggle: (planned)
  • Current Location: (planned)

πŸ”Œ API Integration

  • Current Weather: OpenWeatherMap
  • 5-Day Forecast: OpenWeatherMap
  • Air Quality: OpenWeatherMap (future)
  • Geocoding: OpenWeatherMap (future)

Handles:

  • Network/API errors
  • Invalid locations
  • Rate limits

πŸ“ Project Structure

React_Nexus/
β”œβ”€β”€ public/
β”‚   └── vite.svg
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ [App.jsx](src/App.jsx)           # Main app component
β”‚   β”œβ”€β”€ [main.jsx](src/main.jsx)         # React entry point
β”‚   β”œβ”€β”€ [index.css](src/index.css)       # Global styles
β”‚   β”œβ”€β”€ App.css
β”‚   └── assets/
β”‚       └── react.svg
β”œβ”€β”€ [.env.local](.env.local)             # API key
β”œβ”€β”€ [vite.config.js](vite.config.js)
β”œβ”€β”€ [package.json](package.json)
└── [README.md](README.md)

🧰 Technologies Used

Tech Description
React UI library
Vite Build tool
Tailwind CSS Utility-first CSS
Lucide React Icon library
OpenWeatherMap Weather API
ESLint Linting
PostCSS CSS tooling

πŸ“Š Scripts

Command Purpose
npm run dev Start dev server
npm run build Production build
npm run preview Preview build locally
npm run lint Lint code
npm run deploy Deploy to GitHub Pages

πŸš€ Deployment

  • Vercel: vercel --prod
  • Netlify: Deploy dist/ after npm run build
  • GitHub Pages:
    npm run build
    npm run deploy

See vite.config.js for base path config.


πŸ” Browser Support

  • Chrome, Firefox, Safari, Edge (last 2 versions)

πŸ™ Acknowledgments


Weather Data API

Beautiful Icons

Amazing Framework

Lightning Fast Build

Nexus Weather - Where meteorology meets technology 🌀️

⭐ Star this repo if you found it helpful! ⭐

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •