Firstly, please import (and build) project from REST API
Then create (if you didn't) a web-application for REST in the Portal Management System (for ex. /api/workflow/). Set dispatch class to Workflow.REST, Authentication methods to Unauthorized and Password.
Then import (and build) all files of this project.
Create an application for UI (for ex. /csp/workflow/), specify csp-folder to folder with poject files. Set Authentication methods to Unauthorized only.
Correct appname in config.json to name of your REST app.