/Weather-App

Primary LanguageJavaScript

Weather-App

In this project I have used the API https://openweathermap.org/ for weather data. The current weather information is displayed for any city that we enter. Along with weather information, I'm fetching the coldest and warmest temperature for any city on search.

  • I have used default Lagos as a default city for the first load.
  • I have used Axios to work with asynchronous data.
  • I have used luxon for a date and time conversion to display the current date and time.
  • Enter the city name to get the weather information.
  • Enter the city name to get the coldest and warmest temperature information of a city.
  • Weather icons are also changing as per the condition of the weather and as per the day or night.

Built With

  • Javascript
  • openweathermap API
  • Axios
  • Jquery
  • Webpack

Live Demo

Weather-App

Prerequisites

Node

Setup

  • Clone this repository with: "git clone https://github.com/enkog/Weather-App.git" using your terminal or command line.

  • Change to the project directory by entering cd "Weather-App" in the terminal

  • Next run npm install to install the necessary dependencies

  • Finally run the 'npm run build' and 'npm start' to start the application

  • 'npm run dev' is for building the project in development mode

  • 'npm run build' is for building the project in production mode

  • 'npm start' is for starting the server in development mode

Usage

Start server with:

    npm start

Author

👤 Nkiruka Oguadinma

🤝 Contributing

Contributions, issues and feature requests are welcome!

Feel free to check the issues page.

Show your support

Give a ⭐️ if you like this project!

📝 License