create post repository