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

Api call refactor #9

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Api call refactor #9

wants to merge 2 commits into from

Conversation

rpheredia
Copy link
Owner

@rpheredia rpheredia commented Apr 24, 2023

Changes

  1. Includes changes from PR#8.
  2. Refactor code to remove API calls from components to redux and to use axios package for backend calls.
  3. Store results in redux for easy access from any component.

Purpose

Refactoring the code achieves separation of concerns that supports scalability and easier debugging in the future. See issue Shift3#9

Approach

Code is standardized and allow for easier updating and enhancing. Results of redux calls can be accessed more easily from any component.

Testing Steps

  1. Verify that adding, editing, viewing and deleting functionalities work properly.

Fixes Shift3#9

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.

Bonus feature: API call refactor
1 participant