add /posts/ route to be RESTful