Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modularize and improve code structure (1/T) #3

Open
wants to merge 12 commits into
base: master
Choose a base branch
from

Conversation

AlphaV7
Copy link
Contributor

@AlphaV7 AlphaV7 commented Jun 5, 2018

  • 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 added 4 commits June 6, 2018 00:42
- store all config in a separate file at the server
- add utility function to make API calls
- store urls and url config in a separate file
- define utility funtions used by the 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 function
- 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
- add options to retrive weather information b additional remaining
methods: city-name, city-id and city-coordinates
- changed apis used in server side and reduces functionality to a single
api call
@AlphaV7 AlphaV7 changed the title Modularize and improve code structure Modularize and improve code structure (1/T) Jun 5, 2018
AlphaV7 added 8 commits June 9, 2018 22:46
- create necessary actions and reducers to perfom state updation for
Home container
- remove dependency between the parent container and child compoent and
have a common store to fetch data from
modularize client code to store containers and components separately
Intigrate react-redux in weather app
Merge redux integration and client code change from develop
- added saga for making API calls
- modularized components in CurrentWeather container
- configured eslint for es6 syntax
- removed internal state dependency from component
Integrate redux and redux saga
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant