mazfil / lab-allocator

COMP3500 - Resource maximisation planning system for labs
3 stars 1 forks source link

104 mongodb backend #118

Closed alexdboxall closed 2 months ago

alexdboxall commented 2 months ago

Switches the backend from using Firebase to the API to access MongoDB. Need to check that everything it uploads is in the correct format for the frontend to properly parse.

Also fixes a small typo in the API's JSON format.

Also for the first time will actually test that lecture times are accounted for in the backend - the functionality has been there but lecture times haven't ever been loaded into the system (they are now).

alexdboxall commented 2 months ago

I've also added some changes to make it more likely for the initial population to be generated when the constraints are difficult to satisfy

mazfil commented 2 months ago

Fixed the merge conflict and typo in the Timetable schema, @matthewcawley02 is happy with backend changes I'm happy to merge.