set up project as api app