begins the building of the front end, to consume RESTful API