bridging between the front end and backend