Skip to content

Add static data source to enable usage when hosted without a backend #91

@namsnath

Description

@namsnath

Currently, a backend is required to get courses, curriculums. This dependency can be removed if a bare-bones app is required.

  • Setup a data source (like raw.github)
  • Add an env variable in frontend build, based on which
    • Disable login button
    • Fetch data from data source
    • Disable all sync actions

Content that would need to be hosted can be found in the response of:

  • /course/fullHeatmap
  • /course/allCourseLists
  • /curriculum/curriculumFromPrefix/<prefix>
  • /curriculum/prefixes

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions