/weatherApp

Fetches real-time weather reports from over 200k cities around the world.

Primary LanguageCSS

Weather App

Fetches real-time weather report from over 200k cities around the world.

Live Demo

Weather App Short


Author:

  • Giwa Jossy

Environments

  • Node version - v14.17.0

Technologies:

  • NodeJS
  • ExpressJS
  • Weather API

note: run all commands in the applications root directory

To run the app manually

Install all dependencies

npm install

Configuration

  • Head over to the weather API to get your own API_KEY, and then replace the dummy API_KEY currently in the app.js file on the root route

Start the application

node app.js


The Design Principles used are:

  • DRY Principle
  • KISS Principle
  • YAGNI Principle

DRY Principle:

I utilized this principle to make my code more composed and simpler to keep up. And furthermore spare my time at whatever point I need to change something later on.

KISS Principle:

I utilized this principle to make it simpler for other software engineers to envision the different parts of the applications, intellectually planning the potential impacts of any change.

YAGNI Principle:

I utilized this principle since it abstains from investing energy on features that may not be used and helps me avoid feature creep.

Weather App Short