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

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

Open
namsnath opened this issue Oct 1, 2020 · 0 comments
Open
Labels
enhancement New feature or request hacktoberfest Hacktoberfest 2020!

Comments

@namsnath
Copy link
Collaborator

namsnath commented Oct 1, 2020

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
@namsnath namsnath added enhancement New feature or request hacktoberfest Hacktoberfest 2020! labels Oct 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request hacktoberfest Hacktoberfest 2020!
Projects
None yet
Development

No branches or pull requests

1 participant