Skip to content

Momonhg/API-Node-Weather-App

Repository files navigation

API Node Weather App

Weather app uses post request to fetch data of the desired location. The page will render the data of the req. value, which showing on assigned elements. Alternative: The app uses geolocation to locate the user and then render the weather data of the current location. Link here: API-Vanilla-JS-weather-app-geolocation

Note

Need to change JS file from appneedsAPIkey to app.js

API key from Openweather.com

Sign up/ in to get your API Key with One Call API 3.0 Link here

Available Scripts

In the project directory, you can run:

npm start

Runs the app in the development mode. Open http://localhost:3000 to view it in your browser.

The page will reload when you make changes. You may also see any lint errors in the console.

npm test

Launches the test runner in the interactive watch mode. See the section about running tests for more information.

npm run build

Builds the app for production to the build folder.

It correctly bundles React in production mode and optimizes the build for the best performance. The build is minified and the filenames include the hashes.