Some code to help starting with the prototype on frontend.