jeffcad / Udacity-Front-End-Web-Nanodegree-Project-3

A site that takes user's location with city or US zip, and their feelings for the day. Calls OpenWeatherMap API to return current weather for the location, combines with user's feelings to make weather journal entry. Demonstrates knowledge of local server with Express and API calls. Project #3 in the Front End Web Design Nanodegree from Udacity.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Weather-Journal App Project

Description

This project creates an asynchronous web app that uses a web API and user data to dynamically update the UI. Local server running on Node and Express is used.

Prerequisite

This project runs on a local server. It uses Node. If you don't have Node already installed on your machine, you can download it here.

You also must have an API key for OpenWeatherMap.org. The sign-up page is here.

After you get your API key, go to the file config-sample.js in the website folder. Here you should replace the dummy API key with your own. Then rename the file to config.js.

Installation

If Node is installed, then you can use the Node Package Manager to install the packages needed to run this program, which are listed in the package.json file. In the terminal, use this command:

npm install

When those packages have installed, start the server with the following command.

node server.js

Instructions for Use

Enter a US zip code or a world city name (not case-sensitive). If both zip code and city are entered, the zip code will take precedence. Choose units, either metric (Celsius) or imperial (Fahrenheit). Enter your feelings in the How are you feeling today? space. Press the Generate button to make your entry.

Author

The code was written by Jeff, based on starter code given for the project by Udacity.

About

A site that takes user's location with city or US zip, and their feelings for the day. Calls OpenWeatherMap API to return current weather for the location, combines with user's feelings to make weather journal entry. Demonstrates knowledge of local server with Express and API calls. Project #3 in the Front End Web Design Nanodegree from Udacity.


Languages

Language:JavaScript 58.8%Language:HTML 21.5%Language:CSS 19.8%