Skip to content

Gcolon021/FordWeatherReport

Repository files navigation

Ford Weather Report

Description

This program was written to automate a report utilized by a Manager at Lanter Trucking who must regularly manually generate a weather report to be delievered to Ford Motor Company's Shipping Division. The report generates weather conditions for 181 ford car dealerships. It uses the dealership Zip Code to request weather data from ClimaCell Rest API and based on that information it produces an excel report.

Technologies Used

Languages/Libraries:

Pre-Code Review Notes:

  • Use Lombok Library for handling getters, setters, equals, hashcode.
  • When utilizing git use git-flow or some better approach to using version control.
  • Use CSV library instead of writing a regular expression to parse data. "My friend had a problem, so he fixed it with a regular expression. Now my friend has two problems." - some wise program
  • This project had 1311 lines of java code pre-refactor

Refactor - Post Code Review:

  • Migrated project to use @Data and @Builder reducing clutter and lines of code by 360. The biggest benefit of this change is reduce clutter and improve readability making future maintenance easier.
  • Migrated project to use commons csv. This allowed me to remove the regular expression used to parse the data from the csv files.
  • Project now has 947 lines of code.
  • For future projects I will utilize git-flow as outlined in this article.

About

Generates a weather report for 181 Ford Dealerships.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published