Added rest api boilerplate