Skip to content
This repository was archived by the owner on Apr 29, 2022. It is now read-only.

Data Source

NeverBehave edited this page Nov 7, 2018 · 2 revisions

For data source, you can edit it in @/utils/Unify, and change the way it convert under module data in actions.js

You can also change the dummy.json file and set API_ENDPOINT to null so that Organizer will fallback to local JSON file.

However, no matter what data source you implemented, you need to have following attributes for each course:

  • UUID (unique)
  • CourseTitle (shortname for the course)
  • CourseName (name for the course)
  • CreditHours (minCredit-maxCredit, must be integer)

You can also check the existing dummy.json file if you want an example.

Clone this wiki locally