SkyCast is a modern, single-page weather dashboard built with React that provides real-time weather insights, air quality data, and sunโmoon position tracking using the Visual Crossing Weather API.
The application focuses on clean UI, accurate data visualization, and real-world usability, making it suitable for portfolios and placement projects.
- ๐ City-based weather search
- ๐ก Current temperature and โfeels likeโ temperature
- ๐บ Daily maximum & minimum temperature
- ๐ฌ Wind speed (m/s)
- ๐ง Humidity levels
- ๐ซ Air Quality Index (AQI) with color-coded health scale
- ๐ Sunrise & ๐ Sunset times
- โ๏ธ๐ Dynamic sunโmoon path indicator (day/night aware)
- ๐ฆ Weather condition icons
- ๐ Modern dark-theme UI
- ๐ฑ Fully responsive (mobile & desktop)
- Frontend: React (Next.js โ Client Components)
- Styling: CSS Modules
- API: Visual Crossing Weather API
- Architecture: Single-page application (SPA)
https://weather.visualcrossing.com/VisualCrossingWebServices/rest/services/timeline/{city}
- Reliable free tier
- Single endpoint for weather, AQI, and astronomy data
- City-based queries (no latitude/longitude complexity)
- Frontend-friendly (no CORS issues)
- User enters a city name
- App fetches weather data from Visual Crossing API
- Data is processed and mapped to UI cards
- Sun or moon position is calculated based on current time
- Weather details are displayed in a clean dashboard layout
- API integration using
fetchand async/await - Real-time data handling and visualization
- Conditional rendering in React
- Responsive UI design
- Practical use of environmental data (AQI, astronomy)
This project is open-source and available for learning and demonstration purposes.