https://github.com/kareimgazer/weatherapp
A simple weather app using JavaScript and open Weather Map API
https://github.com/kareimgazer/weatherapp
api body-parser cors css express html5 http javascript nodejs weather
Last synced: 2 months ago
JSON representation
A simple weather app using JavaScript and open Weather Map API
- Host: GitHub
- URL: https://github.com/kareimgazer/weatherapp
- Owner: KareimGazer
- Created: 2021-04-28T14:00:04.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2021-05-06T07:03:24.000Z (about 5 years ago)
- Last Synced: 2025-02-03T12:43:05.452Z (over 1 year ago)
- Topics: api, body-parser, cors, css, express, html5, http, javascript, nodejs, weather
- Language: JavaScript
- Homepage:
- Size: 6.84 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# WeatherApp
This web app uses Open Weather Map API to get weather info by taking the city ID from the user
The app returns the weather data and sends them to the server with user data provided by the user as a user story by a post request
The app finally makes a get request to the server to get the latest info and updates the user interface
This app uses express, body-parser, cors
makes get and post requests
any works asynchronously using promises
## Set Up:
- Download the reop
- run the terminal in the current folder
- run command : node server.js
- go to the browser and go to localhost:8000