This is a weather website project that provides real-time weather information for a specific location. It uses Node.js, Express.js for the backend, and HTML, CSS, and JavaScript for the frontend.
- Displays current weather information, including temperature, weather condition, and location.
- Uses OpenWeatherMap API to fetch weather data.
- Provides a responsive design for different devices.
-
Clone the repository:
git clone https://github.com/RiyaRaj28/WeatherApp.git
-
Install dependencies:
npm install
-
Set up environment variables:Create a .env file in the root directory and add the following:
PORT=8000 API_KEY=your_openweathermap_api_key
-
Run the server:
npm start
-
Access the website:Open your browser and navigate to http://localhost:8000.
Displays weather information for a particular location.
- Node.js: Server-side JavaScript runtime environment.
- Express.js: Web application framework for Node.js.
- HTML: Standard markup language for creating web pages.
- CSS: Style sheet language used for describing the presentation of a document written in HTML.
- JavaScript: Programming language that enables interactive web pages.