added api/posts route, default post data,mongoose, etc