code generator for front-end webapp