-
Notifications
You must be signed in to change notification settings - Fork 2
Architecture Model
The home page is the first page that the user accesses. This page consists of a navigation bar which allows the user to access the About page and Contact page of the web application. The About page provides an introduction of the app along with information about getting started with the system. The Contact page provides a list of frequently asked questions and contact information is users have further questions. The Home page also provides Login and Register functionality. The user can either Register with a new username and password or login with an existing username and password. Once a user logs in, they are redirected to the Search page.
The Search page provides the user with the ability to select their university. Once the user selects their university, a list of courses for the selected university appears. The user can then select the course they want to study. After selecting a course, the list of available tutors for the page is populated. The user can then select a tutor and click on the view tutor profile button. This redirects the user to the Tutor profile page.
The tutor profile page shows the profile of the selected tutor. This profile includes the tutor's details including their hourly rate. It also shows reviews that other students have posted for the tutor. The user can then choose to book a session with the tutor, this redirects them to the 'Booking' page. The user can also write a review for the tutor, this redirects them to the 'Review' page.
The Backend provides services to the frontend through RESTful services. RESTful API methods in the Rest controller call methods in the Business services component, which communicates with the Persistence Layer.
The Rest Controller handles all the GET, POST, PUT, and DELETE requests from the frontend by mapping them to methods which in turn call the Business services.