adding rest api project