component rest frontend