Giter Site home page Giter Site logo

jeffcad / udacity-front-end-web-nanodegree-project-3 Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 1.0 21 KB

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.

JavaScript 58.79% HTML 21.46% CSS 19.75%
udacity-frontend-nanodegree express udacity openweathermap-api

udacity-front-end-web-nanodegree-project-3's Introduction

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.

udacity-front-end-web-nanodegree-project-3's People

Contributors

jeffcad avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

nicomac1992

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.