This is project #2 for the egyptFWD web Professional Track, which is an asynchronous web app that uses Web API and user data to dynamically update the UI.
app.js
fires up when the generate button is clicked.- A check is done in the input fileds to insure that there is a value.
- Date is generated using
getDate()
- temperature is bought from openweathermap.org Current weather data API.
- The user data (date, temp, feelings) is sent to
server.js
which have routers to receive POST requests . - The UI then updates using
updateUI()
, which update UI using data fromserver.js
which have routers to receive GET requests.