weather_app_tutorial icon indicating copy to clipboard operation
weather_app_tutorial copied to clipboard

Modularize and improve code structure (1/T)

Open AlphaV7 opened this issue 7 years ago • 0 comments

  • store all config in a separate file at the server
  • add utility to make API calls
  • store url and url config in a separate file
  • define utility functions used at client in a separate file

The urls should be stored in a separate place. Hard-coding urls leads to greater dependencies and will lead to unmanagable code. functions that can be used again should be stored as a utility

AlphaV7 avatar Jun 05 '18 19:06 AlphaV7