Adds Post API. Implements fetching all posts from db