reese-lee / weather-interface

Javascript practice from the lessons with API calls

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Weather Interface

JavaScript, 06.04.2019

By Reese Lee and Marc Davies

Description

This program returns weather information for a city through an API call to openweathermap.org.

Specs

Behavior Input Output
If user enters a city, the program returns humidity and temperature information for that city Portland "The humidity in Portland is 51%. The temperature in Kelvins is 289.95." *
* Actual weather information may vary

Installation and Setup

Cloning and setting up the application

  • If you don't have it installed, download and install Node.js 12.3.1
  • $ git clone https://github.com/MarcLignarius/weather-interface.git This will clone the repository to your local machine.
  • $ npm install This will allow you to have access to the CLI (command line interface) for webpack.
  • $ npm run build This will automatically build the bundle once. The entry file is ./src/script/index.js, with production ready code (minified).
  • $ npm run start This will watch the file changes in ./src and automatically build the bundle with dev build (not minified). This is a continuous monitoring which can be stopped with the key combination Ctrl + C within the terminal.

Creating and Storing Your API key

Known Bugs

There are no known bugs as of last update.

Support and contact details

Please contact me at marcdaviesriot@gmail.com if you run into any issues or have questions, ideas or feedback.

Technologies Used

This application was built in Atom using JavaScript, Node.js 12.3.1, jQuery 3.4.1, Bootstrap v4.3.1, a custom css file and API calls. For unit testing, Jasmine framework and Karma task runner are both used.

License

This software is licensed under MIT license.

Copyright (c) 2019 Reese Lee, Marc Davies

About

Javascript practice from the lessons with API calls


Languages

Language:JavaScript 85.6%Language:HTML 13.8%Language:CSS 0.6%