Skip to content

This is a Weather app created by JavaScript. It fetchs live weather data from Weather API. The project also makes use of Unsplash API to change the background image based on the weather condition.

Notifications You must be signed in to change notification settings

RaminMammadzada/js-weather-app

Repository files navigation

Microverse JS Project #4

JS - Weather App v1.1

screenshot

This is a javascript Weather app project. It fetchs live weather data from Weather API. The project also makes use of Unsplash API to change the background image based on the weather condition. The page is dynamically rendered by using JavaScript DOM manipulation. JavaScript is used to generate the entire contents of the page. Most of the page is stylized by pure CSS, though in some areas Bootstrap is used.

The requirements in Odin page are followed.

The page is made with modular valinna JS (JS6) and the following milestones are finished:

  • Milestone 1 - Setup webpack to load style files, and pictures.
  • Milestone 2 - Create an MVC structure to create view files, model to fetch data and controller to populate data to view via model.
  • Milestone 3 - Setup Unsplash API and OpenWeather API to fetch data.
  • Milestone 4 - Add extra spinning loader.

Built With

Live Demo

Live Demo Link

Getting Started

To get a local copy up and running follow these simple example steps.

  • Clone the repository by runing git clone git@github.com:RaminMammadzada/js-weather-app.git on your terminal
  • Go into project folder cd js-weather-app
  • Run npm install
  • Run npm run build, if you want to create built files.
    • Alternatively, run npm run dev, if you will work on it to improve.
  • Go into dist folder by typing cd dist and open index.html file using your favorite browser.

Authors

👤 Ramin Mammadzada

🤝 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!

Acknowledgments

  • Microverse
  • Odin project

📝 License

This project is MIT licensed.

About

This is a Weather app created by JavaScript. It fetchs live weather data from Weather API. The project also makes use of Unsplash API to change the background image based on the weather condition.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published