stumash / CoursePlanner

http://conucourseplanner.online
MIT License
5 stars 3 forks source link

Add ability to validate the total credits of a given sequence #40

Closed Davidster closed 6 years ago

Davidster commented 7 years ago

In addition to making sure prerequisite and corequisite relationships are respected, we want to make sure that the minimum number of credits defined for the users program of study is met. For example, in engineering you need to do 120 credits and in computer science u only need to do 90 credits

Davidster commented 7 years ago

work started on branch addMinTotalCredits

stumash commented 7 years ago

so what's the deal with this issue? is it for frontend or backend?

Davidster commented 7 years ago

Now that #44 has been done, this is all backend. As per our schema defined in recommendedSequence.json, sequences have a required property minTotalCredits which will end up making its way to the server during a sequence validation request. So ya you're gunna wanna add a clause to the backend which reads its value and validates against it.