Skip to content

a web app that gets weather data from API using asynchronous javascript

Notifications You must be signed in to change notification settings

ShimaaBetah/Weather-Journal-App

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Weather-Journal App Project

Requirments

use asynchronous javascript to get data from API then update UI accordingly

Set Express Enviroment

using

$npm install express body-parser cors

Set local Server and requests

use

app.listen(port,callbackfunction)

to start our local server at specified port set app.get and app.post to get and post data to project end point

Client Side Code

implement getData method which use personal api key to get data using zipcode entered by the user . implement postData which send POST request to project end point implement updateUI() which send GET request to project end point and update UI accordingly . Chain all these promises using .then()

About

a web app that gets weather data from API using asynchronous javascript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages