Rewrite favorite project with REST resources