Skip to content

Latest commit

 

History

History
41 lines (24 loc) · 1.75 KB

README.md

File metadata and controls

41 lines (24 loc) · 1.75 KB

Weather Journal App

Table of contents

  • Introduction
  • Project Environment setup
  • How to use

Introduction

  • This project is powered by Egypt FWD initiative with Udacity Nanodegree in Web development Professional track.
  • This project requires to create an asynchronous web app that uses Web API and user data to dynamically update the UI for a Weather-Journal App.

Project Environment setup

  • In this project requires Node and Express environments. The first step to using Node.js is to install it on your computer. You can do so by following the link below and installing the Windows or Mac version, depending on what type of operating system you are using, you can download Node JS using this link Node.js Download Page
  • You should download all project dependencies"body-parser , cors , express" in server.js file. Here is the code to install packages with NPM from the command line: npm install package-name
  • The project file server.js should require express(), and should include an instance of their app using express. Here is how to create instance for the app const app = express();
  • The Express app instance should be pointed to the project folder with .js files.

How to use

  1. Install all dependencies by typing in the terminal: npm install
  2. Start the server.js in the terminal by typing: node server.js (make sure you are in the same directory as the server.js).
  3. Go to the browser and type "localhost:5000".
  4. Type Zipcode of the city.
  5. Type your feelings in the corresponding textarea.
  6. Press generate.


© Created by Marwan Mohamed Taha under supervision of udacity.

Udacity Logo