A modern, real-time weather dashboard that provides comprehensive weather information and forecasts. EcoQ helps you stay informed about current weather conditions, air quality, and environmental data with a beautiful, user-friendly interface.
- Real-Time Weather Data: Get current weather conditions for any location
- Detailed Forecasts: View hourly and daily weather predictions
- Multiple Metrics: Access comprehensive weather information including:
- Temperature (current, feels like, min/max)
- Humidity and precipitation
- Wind speed and direction
- Air quality index (AQI)
- UV index
- Visibility
- Atmospheric pressure
- Location Search: Search for weather in cities worldwide
- Geolocation Support: Automatically detect your current location
- Responsive Design: Seamless experience across all devices (desktop, tablet, mobile)
- Modern UI/UX: Clean, intuitive interface with smooth animations
- Weather Icons: Visual representation of weather conditions
Check out the live application: eco-q-2mea.vercel.app
- Framework: Next.js 14 - React framework with App Router
- Styling: Tailwind CSS - Utility-first CSS framework
- Weather API: Integration with weather data providers (OpenWeatherMap, WeatherAPI, or similar)
- Deployment: Vercel - Serverless deployment platform
- Language: JavaScript/JSX
- Icons: Weather condition icons and UI components
Before running this project, make sure you have:
- Node.js (v18 or higher)
- npm, yarn, pnpm, or bun package manager
-
Clone the repository
git clone https://github.com/peyalhasan/EcoQ.git cd EcoQ -
Install dependencies
npm install # or yarn install # or pnpm install # or bun install
-
Set up environment variables
Create a
.env.localfile in the root directory and add your weather API key:NEXT_PUBLIC_WEATHER_API_KEY=your_api_key_here
To get a free API key:
- Sign up at OpenWeatherMap or your preferred weather API provider
- Navigate to API keys section
- Generate a new API key
- Copy and paste it into your
.env.localfile
-
Run the development server
npm run dev # or yarn dev # or pnpm dev # or bun dev
-
Open your browser
Navigate to http://localhost:3000 to see the application
ecovista
├── README.md
├── app
│ ├── [location]
│ │ ├── @aqi
│ │ ├── @temperature
│ │ ├── @weather
│ │ ├── @wind
│ │ ├── default.js
│ │ ├── layout.js
│ │ └── page.js
│ ├── api
│ │ └── location
│ ├── favicon.ico
│ ├── fonts
│ │ ├── GeistMonoVF.woff
│ │ └── GeistVF.woff
│ ├── globals.css
│ ├── layout.js
│ └── page.js
├── components
│ ├── AQIComponent.jsx
│ ├── Card.jsx
│ ├── LocaltionSwithcer.jsx
│ ├── LocationDetactor.jsx
│ ├── LocationInfo.jsx
│ ├── NoLocationInfo.jsx
│ ├── TemperatureComponent.jsx
│ ├── WeateherComponent.jsx
│ └── WindComponent.js
├── jsconfig.json
├── lib
│ ├── locationInfo.js
│ └── weather-info.js
├── next.config.mjs
├── package-lock.json
├── package.json
├── postcss.config.mjs
├── public
│ ├── background.png
│ ├── gradient.png
│ ├── icon_air_element.png
│ ├── icon_compass.png
│ ├── icon_rain.png
│ ├── icon_tempareture.png
│ ├── icon_wind.png
│ ├── link.svg
│ ├── network.gif
│ ├── tinypng.sh
│ └── tinypng_gradient.png
└── tailwind.config.js
-
Search for a Location:
- Use the search bar to enter any city name worldwide
- Press Enter or click the search button
-
Use Your Current Location:
- Click the location button to automatically detect your position
- Grant location permission when prompted
-
View Weather Information:
- See current temperature and conditions
- Check feels-like temperature
- View humidity, wind speed, and other metrics
- Explore hourly and daily forecasts
-
Monitor Air Quality:
- Check the Air Quality Index (AQI)
- Understand pollution levels in your area
Contributions are welcome! Here's how you can help:
- Fork the repository
- Create a feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
- Follow the existing code style and structure
- Write meaningful commit messages
- Test your changes thoroughly before submitting
- Update documentation as needed
Peyal Hasan
- GitHub: @peyalhasan
- Project Link: https://github.com/peyalhasan/EcoQ
- Weather data provided by weather API services
- Thanks to all contributors who help improve this project
- Icons and design inspiration from modern weather applications
- Built with Next.js and deployed on Vercel
Give a ⭐️ if this project helped you stay updated with the weather!
Made with ☀️ for better weather tracking