boilerplate for frontend