making sure visiting localhost:port/posts work