A user can enter a city name and get the location of it
Explore the docs »
View Demo
·
Report Bug
·
Request Feature
The weather is being fetched by using two REST APIs. The first REST API takes in location name as a parameter and returns longitude and latitude of the given location. The second REST API takes in latitude and longitude and returns the weather object (temperature, precipitation).
Instructions on setting up the project locally. Be sure to include prerequisites and step-by-step instructions.
-
Clone the repo
git clone https://github.com/Iamayushgupta/weather-app.git
-
Install Node.js in your Desktop Check this out
-
Run this command to install npm in your project directory
npm init -y
-
Install all the dependencies and package
npm install
-
Run the following command in your terminal
npm run start
-
Open the following URL in your browser
http://localhost:3000/
- Enter the city's name
Email - ayushgupta71011@gmail.com