AeroSphere is a web application that provides current weather information and forecasts for any city. It fetches data from the OpenWeather API and displays real-time weather updates, including temperature, humidity, pressure, visibility, wind speed, and more. It also provides a forecast for the upcoming days.
- Weather Information: Displays the current temperature, weather condition, humidity, pressure, visibility, and wind speed.
- Forecast: Displays the weather forecast for the upcoming days, with temperatures, feels-like temperatures, and more.
- City Search: Users can enter the name of a city to get the weather information.
-
Frontend:
- HTML
- CSS (with responsive design for mobile devices)
- EJS templating engine for dynamic data rendering
- Google Fonts (Quicksand font)
-
Backend:
- Node.js
- Express.js
- Axios (for making API requests to OpenWeather)
- Body-Parser (to handle form submissions)
-
API:
- OpenWeatherMap API (for weather data and forecasts)
- Node.js (v14.x or higher)
- NPM (Node Package Manager)
-
Clone the repository:
git clone https://github.com/your-username/aerosphere.git
-
Install dependencies:
cd aerosphere npm install
-
Set up your OpenWeather API key:
- Sign up for an API key at OpenWeatherMap.
- Replace the API_key value in the server.js file with your own API key:
const API_key = "your-api-key";
-
Run the application:
npm start