add route for posts api endpoint
create abstract api controller
stub the posts api controller