This is a simple weather (with location photos) application built with HTML, CSS, JavaScript, EJS, Node.js, and Express. It utilizes an API to fetch weather data and display it to the user.
- Current Weather: Users can see the current weather conditions, including temperature, humidity, and wind speed.
- Search: Users can search for the weather in different locations by typing in the city name.
- Photos: Users can see the photo of the city(location) they are looking for.
- Responsive Design: The application is designed to work well on both desktop and mobile devices.
- Frontend: HTML, CSS, JavaScript, EJS
- Backend: Node.js, Express
- API: [Google Images, weatherapi.com, WeatherBit API]
To run this application locally, follow these steps:
- Clone this repository to your local machine.
- Navigate to the project directory in your terminal.
- Install dependencies by running the command:
npm install
. - Start the server by running:
node server.js
. - Open your web browser and go to
https://localhost:3000
to view the application.
To use this application, you will need an API key from [API Provider]. Once you have obtained the API key, create a .env
file in the project root directory and add the following line: