Giter Site home page Giter Site logo

omarelshopky / weather_journal_app Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 4.67 MB

The Second Project in Future Work is Digital Web Professional Track program, it was part of Front End Web Development Professional Nanodegree Program about creating an asynchronous web app that uses Web API.

JavaScript 57.37% HTML 12.11% CSS 30.52%
javascript css html web-development fwd front-end-development

weather_journal_app's Introduction

Weather-Journal App Project

Project ScreenShot

Table of Contents

Introduction

This project requires you to create an asynchronous web app that uses Web API and user data to dynamically update the UI. ˗ Set up localhost using express node.js. ˗ Made connection between the app and OpenWeatherMap API to get countries' data. ˗ Routed HTTP requests between API, host, and the app. ˗ Used HTML, CSS, JavaScript and Node.js.

Project Summary

Starting from setup Node environment, Install the packages Express, Body-Parser, and Cors from the terminal and set up a local server in your machine.

Next, you will route GET request to retrieve data about specific from OpenWeatherMap API and endPoint data from the local server-side, besides GET request you will also route POST request that adds incoming data to the endPoint object, you will chain all of this together.

Finally, chain another Promise that updates the UI dynamically by retrieving data from our app, select the necessary elements on the DOM, and then update their necessary values to reflect the dynamic values.

Objective

combining your skills in HTML, CSS, and JavaScript into a large project. Aside from solidifying your skills with these three technologies, you’ll discover how to set up a local server with Node express, learn how to routes GET and POST requests, chain Promises, and work with web APIs.

Try It

You can only see the designs on codepen.io from this link, Or try all its functionality by:

  • Clone the repo from here
    git clone https://github.com/omarhesham2/Front-End_Web_Development_Professional_Nanodegree.git
  • Make sure Node, express, and all dependencies.
    node install express
    node install body-parser
    node install cors
  • Run the server from the terminal.
    node server.js
  • Open http://localhost:3000/ in Google Chrome , Firefox or any other browser
  • Enjoy :)

weather_journal_app's People

Watchers

 avatar

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.