Skip to content

BACKEND

Ege Karadibak edited this page Apr 4, 2021 · 2 revisions

The Backend part provides the service methods to the Frontend part through Restful Services. RESTful API methods in the controller call methods in the services, which communicates with the Persistence Layer.

The Rest Controller

The Rest controller handles all GET, PUT, PUSH and, DELETE requests. Restful API methods in the controller uses the methods in the services component which communicates with the Persistence layer.

Person

The person part of the service component handles the operations related to the customer, technician, and administrator. It can create a new account, change password, log in for the customer, technician and administrator.

Appointment

The appointment part of the service component handles the operations related to the appointment. It can create and delete an appointment.

Timeslot

The timeslot part of the service component handles the operations related to the timeslots of the appointments. It can create and delete a timeslot for the appointments.

Services

The services part of the service component handles the operations of the services. It can create and delete a service user to choose one for the appointment.

Payment

The payment part of the service component handles the operations related to payments. It can create a new payment for the user to pay for the corresponding appointment.