modify the belongs to
add posts routes
create PostCategory model and add post and category association
add index and show action