weather_app_tutorial
weather_app_tutorial copied to clipboard
Modularize and improve code structure (1/T)
- 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