Skip to content

Abdo-Mos/weather-journal-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Weather-Journal App Project Generic badge made-with-javascript

Udacity Front-End Web Development Professional Nanodegree Program. Second Project Open Source Love svg3

License GitHub license

MIT License:

See More Details Copyright (c) 2021 Abdelrahman Sherif Mostafa

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR

Wallpaper License:

As of now, we are using wallpaper from WallpaperAccess under the personal use only.

See More on the personal use only license The wallpapers are for personal use only. **Personal use means that they are not to be used for any commercial purposes where you may charge money, collect fees, or receive any kind of payment.** These background images may not be used on any website where they could generate revenue, and they cannot be used in advertisements. The images may not be resold, relicensed or sublicensed.

Project Summary

This project creates an asynchronous web app that uses Web API and user data to dynamically update the UI.

Project learning outcomes and Functionality I'm using:

Visual Studio Code GitHub JavaScript

  • HTML - CSS - JavaScript
  • DOM Manipulation with Vanilla JavaScript
  • Asynchronous JavaScript
    • GET - POST Requests
    • Promises - Chain Promises
    • try - catch - .than()
    • fetch()
  • NodeJs
    • nvm - npm
    • express
    • cors
    • body-parser
    • local server

Project Description

Weather-Journal App is a web-based weather application that uses OpenWeatherMap's Weather API to get the weather data based on the entered Zip Code. NOTE: For now it's for US only.
In addition to fetching the weather data, it also takes some feedback from the user and stores it in a NodeJs server endpoint to retrieve it later and dynamically display it to the user.

Project Features

  1. Project File Structure
'/weather-journal-app'
   website
      imgs
      - app.js
      -index.html
      -style.css
   node_modules
   - package.json
   - package-lock.json
   - README.md
   - server.js
   assets
  1. All features are usable across modern Desktop, Tablet, and Phone Browsers.

    Desktop

    app desktop preview

    Tablet

    app tablet preview

    Mobile

    app mobile preview
  2. Interactive design and animations.

    Input fields active state

    button hover state

    Input fields Error state

    button hover state

    Hovering over the button

    button hover state

    Long pressing over the button

    button hover state

    Results panel

    button hover state

  3. Color Palette

    • Primary: #f79438
    • Accent: #eab57e
    • Error: #ff202f

How To Install forthebadge

After Installing nvm (Node Version Manager) on your machine:

Install nodeJS via npm:

$ npm install node

Make sure you're in the project's home directory, then start the server:
NOTE: The default localhost is on port 4000.(http://localhost:4000)

$ node server.js

Code References and Research

Say Hi!

Abdelrahman Sherif Mostafa

forthebadge forthebadge forthebadge forthebadge forthebadge forthebadge forthebadge


To-Do:

TODOs List
  • Live View.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published