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

Fetch data #29

Merged
merged 7 commits into from Mar 3, 2022
Merged

Fetch data #29

merged 7 commits into from Mar 3, 2022

Conversation

hendridg
Copy link
Owner

@hendridg hendridg commented Mar 3, 2022

Fetch data to Missions and Rockets API

Fetch data from the Missions endpoint (https://api.spacexdata.com/v3/missions) when a user navigates to the Missions section.

Once the data are fetched, dispatch an action to store the selected data in Redux store:

  • mission_id
  • mission_name
  • description

Fetch data from the Rockets endpoint (https://api.spacexdata.com/v3/rockets) when the application starts (as Rockets is the default view).

Once the data are fetched, dispatch an action to store the selected data in Redux store:

id
name
type
flickr_images

@hendridg hendridg merged commit 6a299b2 into dev Mar 3, 2022
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.

[4pt] Fetch missions - Fetch data [4pt] Fetch rockets - Fetch data
1 participant