CSC207-2022F-UofT / UT-StudentApplication-groupnameundefined-

course-project-groupnameundefined created by GitHub Classroom
2 stars 1 forks source link

Backend/User #31

Closed Eric-1120 closed 1 year ago

Eric-1120 commented 1 year ago

User class has been basically set up, including those instance variables that could be used by other methods in other classes. The table of users' information has its columns setup already, and should be able to store user information in the data base.

Archivec2 commented 1 year ago

Merged Backend/SocialMediaProfile + Backend/Blocks -> Backend/StudentProfile -> Backend/User as they form integral parts of user related usecases. Completed most of user registration process (including student profile creation and timetable upload and processing). Includes loading courses from data fetched from UofT Timetable builder for testing purposes.

In the actualy build of the application the courses should be loaded only once at the beginning of startup. There are 7603 of them and the current code filters and loads only courses matching CSC207 to speed up the process. (because we all have that course, when we upload the timetable we'll always get a match for that course with respect to the course data in the database, so we can actually test.)

Eric-1120 commented 1 year ago

Models related to StudentProfile and Block are merged into Backend/User by Alan, which raised a few issues such as the getter and setter methods for the instance variable StudentProfile in the User Entity class was commented out by me when I wrote the code, and they should be implemented now since StudentProfile Entity class has been imported and we can make some update after looking at the documentation of the StudentProfile Entity. Another issue that concerns me is that some of the user information in the repository did not update when I called the controller method to log a user in. I'm looking forward to having a discussion on this during this week's tutorial.

hzc011213 commented 1 year ago

Backend/Requests and Backend/User-Request has been successfully merged into the Backend/User and all models are up to date.