generate frontend and backend