utmgdsc / CourseOfAction

Course Manager that uses a script to convert you syllabus PDFs to website component with custom notification to keep you on track to get a 4.0
https://mcsapps.utm.utoronto.ca/coa
3 stars 4 forks source link

Change the API endpoints based on the new database structure #14

Open huonggiangbui opened 1 year ago

huonggiangbui commented 1 year ago

Is your feature request related to a problem? Please describe. From #8, we change our database structure. That means our API endpoints in the server need to change to reflect our new structure (because the way we query and mutate the data now is different)

Describe the solution you'd like You may want to change all the API endpoints relating to database query and mutation in the server (backend/App.py). Please note that the core logic and the data we return should not change, just the way we query and mutate the database will be changed.

Additional context Since this is a major change to our application, we highly recommend you to discuss your progress and solution with us along the way. This issue should be the extension of #8 (so you want to do this issue after figuring out the current structure of the database)