Skip to content

Connect [PageHeader] Component with backend #32

@bryanwong8

Description

@bryanwong8

Is your feature request related to a problem? Please describe.
The PageHeader now needs to connect to the backend so we can start working with dynamic data.

Describe the solution you'd like
Call the backend to get data for ModuleProgress.

Figma Design
Screen Shot 2020-05-01 at 6 12 32 PM

Component Details

  • Need to call /modules/<int:module_id>/progress to get the module data like title. This is call should be called in src/components/Explore/Explore.js so then the appropriate data can be passed as props to the header component.
  • For now display the first ModuleProgress that the Student has.
  • You can see how API calls are made in one of the files in src/services. API call should be made in src/services/ExploreService.js

Metadata

Metadata

Assignees

Labels

BackendNeeds to Talk to Backend

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions