/Weather-app

Simple weather app using Node.js as backend and vanilla JavaScript as frontend

Primary LanguageJavaScript

Weather-app

The start

This project was mainly created by YouTube channel @GreatStackDev Here is the creation video How To Make Weather App Using JavaScript Step By Step Explained It was great video to learn vanilla JavaScript, it was my first time to learn how to use APIs thanks!

The final project

After learning how to use Node.js, I wanted to try to convert it to Node.js project. it's my first time to try creating Node.js project on my own, I've stumbled a lot & used Chatgpt many times, but finally it worked!

How to use

  • Clone the repo to your local machin.
  • Open the folder in terminal & run npm install
  • You will need to register @ openweathermap.org & get your API key
  • Create .env and insert your key & url as following:
  OPEN_WEATHER_API=<Your API key>
  OPEN_WEATHER_URI=https://api.openweathermap.org/data/2.5/weather?units=metric&q=
  • Your contributions are welcome!