Skip to content

Combining data from the OpenWeatherMap API and the client side (browser). An HTML form is created that records a weather journal for users. This is an asynchronous web app that uses Web API and user data to dynamically update the UI for a Weather Journal App. (Front End Developer Udacity Nanodegree Project 3)

Notifications You must be signed in to change notification settings

seifye/Weather-Journal-App

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Weather Journal App

Project 3 - Weather Journal App (Front End Developer Udacity Nanodegree)

Created with HTML, CSS, Javascript (Vanilla), and Node.js

Project Objective

This project was about working with Web APIs and asynchronous code, creating a web app that uses OpenWeatherMap API to get weather based on user's location, and dynamically update UI.

Building

To get the project up and running I followed these steps:

  1. Setting up project environment, making sure I have Node and packages installed, and included in my server.js file.
  2. Added POST and GET routes to ensure correct retrieval of data from the server.
  3. Acquired API credentials from OpenWeatherMap website.
  4. Created async functions to fetch weather data and store it on my local server.
  5. Set up a function that updated UI dynamically.

Getting started

Add your API key in the app.js file:

key = '&APPID=ENTER YOUT KEY';

Install node.js on your machine and then start the server at port number: 3000

$npm server.js

Result (input)

Result (output)

About

Combining data from the OpenWeatherMap API and the client side (browser). An HTML form is created that records a weather journal for users. This is an asynchronous web app that uses Web API and user data to dynamically update the UI for a Weather Journal App. (Front End Developer Udacity Nanodegree Project 3)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published