add state to post factory
add api posts#index
add api posts#show
Merge branch 'feature/jbuilder' into develop
Merge branch 'release/1.6.0'